Existential operator (was: ||= is much needed?)
vitteaymeric at gmail.com
Mon Jun 18 08:10:00 PDT 2012
OK, ?. is enough and good
Le 18/06/2012 16:48, Brendan Eich a écrit :
> Aymeric Vitte wrote:
>> Why not, instead of adding "?" operator ?
> You mean ?. here, I assume.
> The answer is because what you propose is an incompatible change to
> ECMA-262 (all editions) and JS back to its birth, which lets programs
> that throw currently continue to run, with possibly disastrous
> consequences (undefined flowing into the bank-balance database as
> NaN). There is no way that this kind of potentially-bug-hiding
> behavior should be the default semantics. It must be explicitly
> opted-into via new syntax.
Email : avitte at jcore.fr
Web : www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com
More information about the es-discuss