On Wed, Dec 11, 2013 at 2:00 AM, Mark Engelberg <mark.engelb...@gmail.com>wrote:

> Put as much as is legible on one line.  If you need to break lines, break
> after the function name, not after the first parameter, in order to
> minimize rightward drift.
>

I've always preferred

(map foo
  coll1
  coll2)

over breaking after "map", and a few similar cases with HOFs whose first
parameter is a function. It always "feels" to me that "map foo" in its
entirety is a kind of operator (although the bare "map" also is, at the
same time) and the intent is clearer if it's not split up internally.

-- 
-- 
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.

Reply via email to