Peter Michaux wrote:
On Mon, Dec 1, 2008 at 2:06 AM, Chris Pine [EMAIL PROTECTED] 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() {}
{||}
Not from where I'm sitting... 'lambda' is shorter than 'function', but
'{||}' is shortest of all... or perhaps I don't understand you?
Chris
___
Es-discuss mailing list
Es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss