On Feb 10, 4:27 pm, jkrueger <jan.krue...@gmail.com> wrote: > Sure. I'm not saying that you can't write it yourself. My point was, > that > > a) This is essential to writing understandable code, so it would be > nice if the language supported it out of the box
I don't agree it's essential. I think if you use namespaces, you can easily structure code in a way that's "top down": (ns high-level (:use lower-level)) (defn high [a b] (low1 a (low2 b))) The order within a file is not that important, because a single file shouldn't contain enough code to be confusing. > b) A namespace feels to me like a set of functions (ns-publics > actually returns a map). That Clojure enforces a particular ordering > (if we forget about the "declare" kludge) while writing a namespace > seems arbitrary from a programmers point of view. Yes it's arbitrary, but the other way around would be arbitrary too, and IME 1) it's fairly rare that you actually *need* a declare "kludge". 2) full free ordering generally makes stuff harder to find than "enforced order". In conclusion, I see the current behavior as slightly more a feature than an issue. Joost. -- 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