Re: Question about code style

2013-04-25 Thread Stefan Kamphausen
You might want to consider adding it to https://github.com/bbatsov/clojure-style-guide :-) -- -- 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 modera

Re: Question about code style

2013-04-24 Thread Alex Baranosky
You shouldn't use the second unless you have a multi-arity function definition. On Wed, Apr 24, 2013 at 9:39 AM, Plínio Balduino wrote: > Hi there > > Which one is preferred when adding doc-string in a function? > > This: > > (defn bubbles > "Here I put some description" > [] > (code)) > >

Question about code style

2013-04-24 Thread Plínio Balduino
Hi there Which one is preferred when adding doc-string in a function? This: (defn bubbles "Here I put some description" [] (code)) Or this: (defn bubbles "Here I put some description" ([] (code))) Thank you in advance Plínio -- -- You received this message because you are su