what kind of problem is this fat arrow feature trying to solve ?

Andrea Giammarchi andrea.giammarchi at gmail.com
Wed Oct 2 14:25:47 PDT 2013


Thanks. And do "we" know which one is the most common case or any reason we
won't have the same in ES6 ? I see both options as a win. Having only the
=> version looks like a huge limit in arrow potential.


On Wed, Oct 2, 2013 at 2:18 PM, Brendan Eich <brendan at mozilla.com> wrote:

> Your reply incoherently flattens some of my words with leading '> '
> citation prefixes. But I'll be brief here, no need to reply:
>
>
> Andrea Giammarchi wrote:
>
>> In CoffeeScript the fat arrow behaves differently having a dynamic this,
>> am I correct?
>>
>
> No, you are incorrect. CoffeeScript's => binds this, its -> leaves this
> unbound.
>
> /be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131002/40e9c8c9/attachment.html>


More information about the es-discuss mailing list