||= is much needed?
wes at page.ca
Mon Jun 18 03:58:26 PDT 2012
> Yes, we could make ?? and ??= do the same for null as for undefined. I'm
not sure that's
> the right choice, but it's a choice.
Introducing yet another way to think about values in ES is not going to
help most programmers. We already have to think about thinks like
undefined and falsey -- what's been proposed here is an operator that
mysterious works on something halfway between the two.
Some folks may not see the need to differentiate between the two, but as
somebody who talks to databases with ES -- there is a world of difference
between null and undefined.
Wesley W. Garland
Director, Product Development
+1 613 542 2787 x 102
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss