Re:Underscore.js: Annotated Source Code
by mrkurt on Thursday October 07, 2010 @04:25PM
(#1769358)
You really want the order of arguments to be 'fn,list' when you're working with a language that has partial function application (currying with no special syntax, basically). In a language like Javascript where you have to resort to a curry function, there's no practical difference. A curry function implementation can actually be made to work with either argument order pretty easily.
And in javascript, having the function last is relatively standard and much nicer to look at.
And in javascript, having the function last is relatively standard and much nicer to look at.