On Apr 14, 2011, at 20:48, Brendan Eich <[email protected]> wrote:

> Seems to me Tucker was pretty clearly arguing that ?. should be explicit as 
> in CoffeeScript, not implicit and inevitable via . as in AS2. That's all.

Yes. Our experience was that implicitly short-circuiting on dereferencing 
undefined had benefits, but was more trouble than it was worth.  I want the 
best of both worlds — an error when I don't expect undefined, and a way to 
explicitly permit short-circuiting on undefined.  A syntax like Dmitry's 
proposal would make duck typing and lazy allocation patterns more succinct.

—
Sent from my device that I decline to endorse blindly.  Nor do I request 
absolution for any typographical sins.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to