__sharky__,
@__sharky__@mastodon.social avatar

First time I need to use destructuring in #clojure . Takes some time to get my head around the syntax , but it works ! #exercism #functionalprogramming #fp #coding

loudfpv,
@loudfpv@mastodon.social avatar

@__sharky__
Destructuring can be tedious, but its very useful if you exactly know the input.

On a side note, whats up with your brackets here? It's not like other languages where you split things up on lines.

__sharky__,
@__sharky__@mastodon.social avatar

@loudfpv 😅 Ok, I will work on my brackets ! I'm still tinkering. I have no idea how to format code in clojure. Is there something like black or flake8 for #clojure ? These are code formatters for python*

mykhaylo,
@mykhaylo@fosstodon.org avatar

@__sharky__ @loudfpv you can use cljstyle to format it. And here's the style guide to read for fun: https://guide.clojure.style/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • FunctionalProgramming
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines