arrow function syntax simplified

Allen Wirfs-Brock allen at
Wed Mar 28 09:07:03 PDT 2012

On Mar 28, 2012, at 8:26 AM, Axel Rauschmayer wrote:

>> On the other hand, failing to bind 'this' is something that I believe every single JS developer hits routinely. It has cost them time to recognize and recover. The net advantage of a better bind mechanism still depends upon many issues, but this problem has much bigger impact that eight vs two characters.
> +1
> And things should be brain-dead simple. That’s what I liked about block lambdas: No need to understand what bound/lexical `this` actually is, things just worked. With two arrows where each one has different rules (e.g. regarding the body), things are becoming much more complicated. 

also, +1

we need either fat arrow or block lambda based TCP preserving functions.  We don't need thin arrow and we really don't need the confusion it would create.


> -- 
> Dr. Axel Rauschmayer
> axel at
> home:
> twitter:
> blog:
> _______________________________________________
> es-discuss mailing list
> es-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list