Re: Clojure namespace conventions

2011-02-24 Thread Laurent PETIT
2011/2/25 Phil Hagelberg > On Feb 24, 2:48 am, Paul Richards wrote: > > My goodness.. Seems like a can of worms. :p > > > > I think I'll pick something at least two levels deep like > > "pauldoo.someproject", complete with ".core" and ".tools" as sub > > namespaces.. > > IMO adding ".core" ind

Re: Clojure namespace conventions

2011-02-24 Thread Phil Hagelberg
On Feb 24, 2:48 am, Paul Richards wrote: > My goodness..  Seems like a can of worms.  :p > > I think I'll pick something at least two levels deep like > "pauldoo.someproject", complete with ".core" and ".tools" as sub > namespaces.. IMO adding ".core" indicates it's a "filler" segment that's only

Re: Clojure namespace conventions

2011-02-24 Thread Chas Emerick
FWIW, I've settled on cemerick.project-name as my default. I think the project-name.core convention cropped up because of hesitancy of some to use their name at the top level. - Chas On Feb 24, 2011, at 5:48 AM, Paul Richards wrote: > My goodness.. Seems like a can of worms. :p > > I think

Re: Clojure namespace conventions

2011-02-24 Thread Paul Richards
My goodness.. Seems like a can of worms. :p I think I'll pick something at least two levels deep like "pauldoo.someproject", complete with ".core" and ".tools" as sub namespaces.. On 23 February 2011 20:35, Mark Rathwell wrote: > > This discussion has been had multiple times on this list, no

Re: Clojure namespace conventions

2011-02-23 Thread Mark Rathwell
This discussion has been had multiple times on this list, not sure how much new information you will get. See the following for a couple examples: http://groups.google.com/group/clojure/browse_thread/thread/968e9066223c3a2b/fbce84869dbf4ce6?lnk=gst# http://groups.google.com/group/clojure/browse_t

Clojure namespace conventions

2011-02-23 Thread Paul Richards
Hi, Is there a guide to the conventions for naming and structuring namespaces in a Clojure project? I see for example that the ".core" namespace is fairly common in different projects. Is this also where the "-main" entry point should live? Also is it typical to have code living in "someproject"