r/Clojure • • May 24 '17

Readable Clojure

http://tonsky.me/blog/readable-clojure/
94 Upvotes

31 comments sorted by

View all comments

0

u/Someuser77 May 24 '17

Probably an unpopular review: Might as well not use Clojure at all if you're going to follow some of these "advanced" recommendations. Just go back to using BASIC!

3

u/arry666 May 25 '17

Not really. You still get the Clojure benefits that matter, and don't introduce incidental complexity in the way you use the language. This post is in style of books like Perl Best Practices or JavaScript: the Good Parts: just because you can do something, doesn't mean you should; and the recommendations here are solid.

4

u/Someuser77 May 25 '17

Nice thoughts about my admittedly snarky response, thanks.

I use Lisps (and Haskell) precisely for the reasons this author suggests we avoid them, though - and especially for higher order functions (functions that return functions) and macros. In fact, one of my "complaints" about Clojure is that it's "missing" some of the convenience of Common Lisp such as full reader macros and symbol macros that add expressive power. (Which presumably this author would also say not to use, and so does Rich Hickey incidentally.)

Anyway, I do like Clojure as it plays well with a huge amount of JVM libraries and deploys easily to servers of almost any stripe, but mostly for the exact reasons that this author seems to dislike (parts of) it!