On Sun, Mar 28, 2010 at 08:39, Antony Blakey <antony.bla...@gmail.com> wrote: > > On 28/03/2010, at 4:42 PM, Antony Blakey wrote: > >> (defproject main "org.clojars.the-kenny:clojure-couchdb:0.2" >> :add-default-plugins true >> :description "Simple Clojure interface to Apache CouchDB, fork of the >> original project with function arguments instead of *server* and some other >> changes." >> :dependencies [["org.clojure:clojure:1.1.0-master-SNAPSHOT"] >> ["org.clojure:clojure-contrib:1.0-SNAPSHOT"] >> ["org.clojure:clojure-http-client:1.0.0-SNAPSHOT"]]) > > Actually, it's even simpler than that because the string-format coordinates > removes the need to wrap the coordinate in a vector:
True, but concatenating the three coordinates together into a single string smells like a [first normal form][1NF] violation to me. I think Leiningen's notation is a better fit and more idiomatic as Clojure, even if it is a little more verbose to type. - Clojure code manipulating poloyglot's notation is more complex because it must be parsed first, and then recombined. Leiningen's notation already is 'parsed'. - Editing just the version of a dependency (or the project itself) is a fairly common occurrence and is somewhat more awkward if you're editing only *part* of a string literal, rather than a single token. [1NF]: http://en.wikipedia.org/wiki/First_normal_form ymmv // Ben -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.