arrow syntax unnecessary and the idea that "function" is too long
Isaac Schlueter
i at izs.me
Tue May 10 16:27:24 PDT 2011
On Tue, May 10, 2011 at 16:22, Oliver Hunt <oliver at apple.com> wrote:
> \ is a much more common lambda symbol in many languages, and i'm not sure what the ambiguity would be in \{...} or \(...){...}.
\(a,b,c) { a + b * c }
That's cute.
> I'm also really not happy with the concept of minor variances in syntax having such dramatic impact the language semantics. All the fiddling with |this| dramatically increases the complexity of the language, it doesn't simplify it.
I completely agree. It think any short-form function syntax should
have the exact same semantics as the existing long-form. We've got
.bind(obj). That's enough.
More information about the es-discuss
mailing list