I'm not sure what you mean? Do you mean that in coffeescript the () after a function are optional? I find that it helps with readability with nested functions and callbacks, although it has bitten me before, but for me the readability outweighs the cons.
Also, javascript does have partial application with the bind method, or you can use function scoping to do it yourself:
var foo = function (x, y) {...}
var bar = function (y) {
return foo(5, y);
}
View all comments
Show parent comment
4
u/passwordstillWANKER Jul 25 '13
I don't understand the value in not having a function call operator in a language without partial application.