Allen's lambda syntax proposal

Peter Michaux petermichaux at gmail.com
Mon Dec 1 05:36:10 PST 2008


On Mon, Dec 1, 2008 at 2:06 AM, Chris Pine <chrispi at opera.com> wrote:
> Brendan Eich wrote:
>>
>> // Instead of lambda (a, b, c) { ... }, why not:
>> { |a, b, c| ... } ?
>
> Looks like Ruby to me, so you know I love it.  :)
>
> Nice lambda syntax really matters.  If that tool is too heavy, I only use it
> half as often as I should.

What is to be made of that last sentence? If you have a choice between
the following, The "lambda" version is still shorter.

function() {}
lambda() {}

Peter


More information about the Es-discuss mailing list