News for hackers. Stuff that matters.
Re:Partial Application and Lambda Parameter Syntax for JavaS... by skybrian on Wednesday January 31, 2018 @02:00PM (#16276488)
The import tells you that some of the expressions in a file might be functions, but not which ones. For each definition, you have to read the entire expression to tell whether it's a function or evaluated immediately, and what its arity is. No thanks! Reading the entire file just to find out its API is no fun.

I like the direction typescript is going, where you can easily see not only the arity but the type of each parameter, without reading the function body. This is more skimmable.

There are no comments on this comment yet.