Allen's lambda syntax proposal

Michael Michael at lanex.com
Wed Dec 3 07:56:05 PST 2008


If I understand the proposals correctly, then of the following e4x:

 

var doc = {{|a,b,c|...}(d,e,f)}

var doc = {^(a,b,c){...}(d,e,f)}

 

var doc = {{||...}()}

var doc = {^(){...}()}

 

I honestly don't see the clarity of one over the other especially if someone
writes larger, asinine e4x.

At least with the vertical bars it has similarities/inspiration from other
languages as mentioned. This may be important for those migrating

from one of those languages. When I first saw ^(){...}, the vision that came
to my head was the pointer operator in Visual C++

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20081203/49d3a9f2/attachment.html>


More information about the Es-discuss mailing list