On Fri, 9 Jul 2010 03:01:01 -0700 (PDT) Jeff Rose <ros...@gmail.com> wrote:
> I've asked myself this same question 50 times now. My best experience > so far with a community that had packages was Ruby, and it was > incredibly simple. Everyone can choose whatever name they like for > their package as long as it isn't up on rubygems yet. I am strongly > in favor of dropping these ridiculous Java naming schemes that not > only waste time and obscure library names, but I think they also have > a kind of selfishness to them. Just because I start a project doesn't > really mean it is appropriate to use my domain for the lifetime of the > project. Would you like to be programming with > com.richhickey.clojure.core all of the time? Not I. This is the open > source world, and I think social components like this are important > for collaboration and community. Ruby (and Gems) had its own issues > regarding packages and versioning, but conflicting names was never a > problem for me. There are a lot of names out there, and since we have > the ability to prefix however we like I don't see any good arguments > for the Java naming scheme besides, "that's the way they do it in > Java." Lets evolve. How have you managed to miss the second half of "that's the way they do it in Java", which is "and we need to interoperate with other JVM languages." Like it or not, one of the biggest draws of Clojure is that it interoperates with Java. > I find the whole foo.core thing unfortunate too, because it would > otherwise be nicer to just (:use foo). In my own projects I've > adopted this style though, with the idea that I would like my code to > be usable from other JVM languages in the future. For some people, "like" and "future" aren't acceptable options. It has to be usable from other JVM languages now. > Not sure how realistic or plausible that really is... It's not really either. At the very least, you need to use a top-level namespace that sets clojure code apart from the other JVM languages (and then expect projects for which cross-language usage is important to do it the Java way anyway). I still suggest "clojure" for that. <mike -- Mike Meyer <m...@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- 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