3 ms·
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 synta
by mrkurt 16y ago
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.