This has been a fascinating discussion, thanks to everyone involved. I do kind of feel like complaining about indentation in Clojure is like complaining that Ruby has too many parentheses ( shut up, they're optional!).
I still feel like a big part of 'readability' comes down to personal preference. Python is often the canonical example of a readable language, but I find significant whitespace offensive, and other 'features' just terribly limiting. I spend most of my time coding in Ruby, which is very readable (for me), but I enjoy reading and writing Clojure equally well, if not more. One side-effect of Clojure's 'difficulty', for me at least, is being forced to think harder. This is a good thing. Homoiconicity was never a feature geared toward easiness, but rather power and simplicity. Anyhow, thanks for this discussion. I've enjoyed it. Jason On Mar 9, 2012 2:48 AM, "Tassilo Horn" <tass...@member.fsf.org> wrote: > > 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 -- 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