Hallo all,

I just watched the talk Radical Simplicity (bit.ly/lsub9h)  by Stuart
Halloway. Very Intressting but one little thing he says I wanted to
threw in the groupe because its kind of a half know thing and it
should really move into the Clojure Coding Standard.

Stu said:
Objects should be the first parameter to a function (like it would be
in traditional OO).
Collections sould be in the last place in th parameter list.

This is because it makes the use of the threading operater easy -> for
Objects ->> for Collections really easy and can make code much better
to read.

I'm writing this here because of two reasons:
1. The universial threading operator keeps showing up. Im not saying
its a always a bad thing but I think we should trie to avoid it in
most cases and the standard on the parameter order would help.

2. The Question of where to put this stuff pops up again and again
(IRC, Stackoverflow....). We, as a Communety, should have a standard
answer to this.


What do you guys think?






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

Reply via email to