On 28 June 2010 23:13, Lee Spector <lspec...@hampshire.edu> wrote: > and more recently I had to figure out about.dotted.names and their meaning > with respect to directory structures, > in order to get require to find a second clj file. It's not complicated, but > it's also not obvious to everyone first coming > to Clojure.
That's actually far more of a stumbling block than the classpath. In my experience, very few languages/environments tie directory structure and language identifiers (class name in Java, namespace in Clojure) together as closely as the Java/JVM environment. As in, if you change the filename, you have to change the namespace declaration as well - and vice versa. Or Clojure can't find your code, and you have no idea why :-( And yet, there's no reference that I can see to this fact in any of the Clojure tutorials. Not even in "Programming Clojure" (which is generally a great book). I could have missed something, of course - I wasn't looking for the information - but I've hit the issue a couple of times, so I suspect if I had seen anything, I would have remembered. Paul. -- 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