On 8 March 2012 16:23, Leon Talbot <leontal...@gmail.com> wrote: > What I met by readable, is the capacity of reading someone's code.
I develop Ruby professionally, and write Clojure in my spare time. Off hand, I can think of several Ruby libraries I'd consider to have unreadable code, but no Clojure equivalents immediately spring to mind. Perhaps this is because there is a tendency for Ruby projects to become very "deep". The functionality for a single class is often scattered throughout several files of mixins and base classes. The New Relic Agent library (https://github.com/newrelic/rpm) is particularly bad in this regard. Clojure, on the other hand, tends to encourage libraries that are very shallow. Each namespace is contained in a single file, and holds a list of functions and values. You rarely get the sort of functionality spread that seems to occur in some large Ruby projects. So returning to your question: > Can Clojure be as readable as Python or Ruby? The answer is: probably, but why would we want to make Clojure less readable? - James -- 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