On Mar 6, 2012, at 2:30 PM, Rick Waldron wrote:

> Here's where the foot goes in the mouth... Why couldn't ()[no 
> LineTerminatorHere]{} be used with block lambda's semantics?

I'm sayin'. :)

Seriously, though, Brendan's objecting (as MarkM has in the past) that

    (x) { f(x); }

is more likely to be an accidental leak of the return value of the call to f 
than

    {|x| f(x); }

is. That claim looks a little hard to believe, but MarkM does have anecdotal 
evidence (basically, his experience with E) that the former style, by virtue of 
looking like a traditional function body, is more likely to lead the programmer 
to forget that it implicitly returns the result of the last expression 
statement.

Dave

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to