Even simpler lambdas

Erik Arvidsson erik.arvidsson at gmail.com
Tue Apr 17 20:54:28 PDT 2012


Yeah, I don't like this and I would vote against this.

For the reasons already stated.
On Apr 17, 2012 3:24 PM, "Brendan Eich" <brendan at mozilla.org> wrote:

> Peter van der Zee wrote:
>
>> On the subject of readability; I believe that a worded keyword;
>> map(return $1+$2) gives a much stronger emphasis to "HEY, I'M DOING
>> FUNCTION STUFF OVER HERE" than map((a,b)=>a+b) would.
>>
> $1 and $2?
>
> We may have to disagree on this one. I am telling you TC39 is not going to
> go for it.
>
>  I'm not against the current proposal, I just still fear that it's very
>> parenthesized.
>>
>
> I do not know what you mean. Single-argument => functions have no extra
> parentheses.
>
> /be
> ______________________________**_________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120417/97d1be33/attachment.html>


More information about the es-discuss mailing list