Re:ClojureScript 101
by cnp on Saturday November 09, 2013 @05:13PM
(#6703553)
If someone could provide a good pointer to better understand lisp syntax / Clojure I would appreciate it. Clojure is so confusing and hard to follow for the beginner!
[ Parent
| on HN ]
Re:ClojureScript 101
by NoodleIncident on Saturday November 09, 2013 @07:00PM
(#6704227)
The biggest difference is that functions go after the left-paren, not before. Commas are also unnecessary, they're just whitespace
foo(bar, baz) => (foo bar baz)
herp(bar, derp(baz)) => (herp bar (derp baz))
This might help as well: http://adambard.com/blog/clojure-in-15-minutes/