Hey guys!
So coming from another language into Clojure you may feel overwhelmed with some of the "strange" syntax. But there's nothing to worry about, in fact, once you know what everything does, Clojure is incredibly easy to read :D
I try to show what Clojure's conventions/Macros/Functions that are a little bit different do. Let me know if you want any more videos like this
*made a booboo 😵 in expalining -main its used when generating classes... see clojuredocs.org/clojure.core/gen-class
Links 🔗:
My VS Code theme: Bearded Theme Arc Blueberry:
marketplace.visualstudio.com/items?itemName=Bearde…
Calva Plugin
calva.io/
——-
00:00 Intro
00:27 why -main
01:00 Metadata and Dynamic vars
03:49 What is the '?' for
04:30 Keywords
05:48 Anonymous functions
06:47 What is the '_' for
07:37 Destructuring
08:36 Why the '&' in function args?
09:37 Java interop
09:58 Symbols & Vars
10:55 Why the '!' ?
12:14 Threading macros
13:00 Reg
コメント