Fork me on GitHub
#beginners
<
2016-03-01
>
adamkowalski07:03:18

Hey what would you guys recommend as the best resources to really understand Clojure well. I am currently reading the Joy of Clojure and I want to know where I can go next to learn more about how to fully utilize Clojure. I have not had to much experience with lisps before this, so things like macros are really starting to catch my eye. Ideally whatever resource you recommend could help highlight the unique features of this language and how to approach writing idiomatic code.

zzamboni09:03:09

adamkowalski: I’ve been reading http://www.braveclojure.com and really enjoying it, it does a good job of explaining the basics and getting started on more advanced stuff. I have Joy of Clojure but heard it’s not so good for getting started, but for more advanced understanding.

mostr14:03:21

Folks, what's the real difference between

(-> 10
    (* 10)
    (str)
    (keyword))
and
(-> 10
    (* 10)
    str
    keyword)
They both yield the same result - :100. Which one is usually used (I guess the first one) and why?

mostr14:03:37

ok nvmd, RTFM facepalm

bronsa14:03:49

no difference

ghadi17:03:16

mostr: you can wrap that with macroexpand to see any difference:

ghadi17:03:28

(macroexpand '(-> 10
    (* 10)
    str
    keyword))

ghadi17:03:35

note the quote.

swizzard23:03:52

any good tutorials on enlive selectors?