Allen's lambda syntax proposal

Steven Johnson stejohns at
Wed Dec 3 10:45:44 PST 2008

On 12/2/08 7:11 PM, "Neil Mix" <nmix at> wrote:

> How's this for a strawman: the choice is to follow either Objective-C
> or Smalltalk.  Given that Objective-C and JS share syntactical roots
> in C, it makes more sense to follow the Objective-C precedent.

I find Objective-C's syntax to be its weakest point, so I'm not sure I think
either one of these is a good idea.

My question is whether a new keyword (or token) is needed for lambda at all.
Can't the existing "function" keyword be repurposed here?

More information about the Es-discuss mailing list