The Beauty of Clojure
I don't get it why Clojure and other Lisp tutorials throw things like this in face of beginners:<p><pre><code>    (reduce + (map (comp inc inc) (range 10)))
</code></pre>
instead of just using things like the "->" macro to make the damn thing just as in any other language:<p><pre><code>    (-> (range 10)
        (map #(+ % 2))
        (sum))
</code></pre>
...it's as if <i>they purposely try to scare people away from Lisp!</i> Some kind of smug superiority makes them wanna make sure no "lesser mortals" want to touch their beloved language. (The added benefit would be that later you can "blow their minds" but showing them how to <i>write "->" themselves</i> and instantly introduce them to the power of macros!)<p>This is almost close to showing a code snippet like this to someone trying to learn Haskell:<p><pre><code>    fix$(<$>)<$>(:)<*>((<$>((:[{- thor's mother -}])<$>))(=<<)<$>(*)<$>(*2))$1
</code></pre>
(it only prints the powers of 2, but it was enough to scare some people into calling Haskell “the Taliban version of ML”... <a href="http://www.theregister.co.uk/Print/2012/12/21/financial_software_disasters/" rel="nofollow">http://www.theregister.co.uk/Print/2012/12/21/financial_soft...</a>)<p>...really, people, stop scaring learners away!