Re: Clojure coding standard

2009-07-19 Thread Mark Volkmann
On Sun, Jul 19, 2009 at 8:54 AM, Dragan Djuric wrote: > > Mark, > > I was hoping to some more concrete conventions. Your guidelines are > good, but are too general (applicable, I would say, to any programming > language) I agree. That's why I'm asking for additional suggestions. I added your sugg

Re: Clojure coding standard

2009-07-19 Thread Dragan Djuric
Yes, Jarkko, that Scheme guide is very useful. Would it be worthwhile to refine it with some clojure-specific things and promote it somewhere where people will see it (to the Clojure web site)? On Jul 19, 3:52 pm, Jarkko Oranen wrote: > Hi. > > I'm not aware of any comprehensive style guide for

Re: Clojure coding standard

2009-07-19 Thread Dragan Djuric
Mark, I was hoping to some more concrete conventions. Your guidelines are good, but are too general (applicable, I would say, to any programming language) An example for what I meant would be predicate functions whose name by convention should end with ? (odd? even? etc.) An example in Java woul

Re: Clojure coding standard

2009-07-19 Thread Jarkko Oranen
Hi. I'm not aware of any comprehensive style guide for Clojure. However, there is a scheme style guide at http://mumble.net/~campbell/scheme/style.txt which contains plenty of good advice that applies to Clojure as well. In addition to the above advice, I have a personal recommendation regarding

Re: Clojure coding standard

2009-07-19 Thread Mark Volkmann
I documented some coding guidelines at http://java.ociweb.com/mark/clojure/ClojureCodingGuidelines.html. If anyone has ideas for additions/changes they would like to see, I'd gladly add them. On Sun, Jul 19, 2009 at 4:03 AM, Dragan Djuric wrote: > > Hi folks, > > I am still in the process of gett

Clojure coding standard

2009-07-19 Thread Dragan Djuric
Hi folks, I am still in the process of getting to know Clojure (which is also my first lisp). Are there any coding standards defined for Clojure? Before someone cuts me off that Lisp is all about freedom and doing it your way and everything, let me explain a bit. I agree that people should have c