Mark Engelberg <mark.engelb...@gmail.com> writes: Hi Mark,
> In the meantime, just to get a feel for whether this is unique to my code > or universal, I decided that I was going to carefully scrutinize the > nesting level of the next public Clojure code I encountered. Completely > randomly, the next Clojure code I encountered was this blog post: > http://blog.japila.pl/2012/03/block-scanner-from-let-over-lambda-in-clojure > > Take a look at how indented the code is after merely 10 lines of code. We > start to take this for granted in Clojure, but if you look at it with a > fresh eye, it really is ridiculous. In some book (I think some Common Lisp book), I've read that code leaning to the right is a pretty good indicator for code written in a functional style. If it's straight top-down, then it's probably more imperative with one outer let and setf-ing of that let's variables. That said, of course there's nothing wrong with macros like the cond with :let or the let? in this thread. They look really useful, and I think I have some spots in my code where I could make use of them. Bye, Tassilo -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en