A new function name property proposal

Brendan Eich brendan at mozilla.org
Sat Nov 24 15:52:22 PST 2012


Jorge Chamorro wrote:
> On 24/11/2012, at 07:14, Brendan Eich wrote:
>>>> Programmers do intentionally replace a function's name in its scope, e.g. to auto-memoize.
>>> Oh, how does that work? I've written memoizers but never needed to overwrite a name.
>> http://osteele.com/posts/2006/04/one-line-javascript-memoization
>>
>> Works on global functions as well prototype methods.
>
> It can be done with FDs, but all the examples are using NFEs.

Yes. So? The point is we can't make an incompatible change without more 
motivation and some sense that we're not going to break the web. Neither 
is in evidence.

> Don't you think so?

No. You're rehashing a hypothetical worry at this point. Evidence first, 
to get any farther.

/be


More information about the es-discuss mailing list