On Monday, March 11, 2013 6:35:09 AM UTC-5, Marko Topolnik wrote: > > > This kind if formatting hurts readability for people used to the style > that most Clojure code adopts, which would look something like this: > > (defn- make-student [teacher-name student-name age] > {:id (str teacher-name "!" student-name) > :TeacherName teacher-name > :StudentName student-name > :age age}) > > Placing the arguments vector on its own line is also an option, but you > shouldn't start the body in the same line. > > Ok, thanks Marko, I've been playing around a bit with my formatting and looking at a lot of clojure code, but you're right, I don't think I've seen anyone do it the way I've done here ;-)
-- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.