On Wed, May 6, 2009 at 12:42 PM, Brendan Eich <[email protected]> wrote:
> Current position: long default parameter values, short ||= and ??=.

I like that. The great virtue of ||= is that it can be explained as
repairing a non-orthogonality, thereby making the language *simpler*
to explain. But ||= is accident prone due to the falsy issue. &&= is
not as accident prone, but makes the explanation of the language more
complex.

Default parameter values are intuitive and reliable.

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

Reply via email to