Block lambda is cool, its syntax isn't

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Jan 20 17:41:19 PST 2012


On Jan 20, 2012, at 5:08 PM, Brendan Eich wrote:

> ...
> (Aside: I wish I had used "fn" instead of "function" in 1995!)
> 

At the TC39 meeting we were trying to think of pragma candidates.

It wouldn't surprise me if JS programmer would happily trade one:

use fn;

per file in exchange for being able to use "fn" as a synonym for "function". In terms of character counts, you come out ahead starting with the second function definition. 

Allen


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120120/1e28f21b/attachment.html>


More information about the es-discuss mailing list