Existential operator (was: ||= is much needed?)
brendan at mozilla.org
Wed Jun 20 12:49:13 PDT 2012
Brendan Eich wrote:
> This is infelicitous compared to putting ? first because it separates
> the ? from the maybe-nully left operand too much, and looks ugly (to
> Spanish readers it looks even more wrong).
It's also a loss to deviate from CS, but we can't do ?( so we're half
(or 1/14th by the CoffeeScript usage-grep stats) deviated.
And putting ? after ( is future-hostile to any ?-unary-prefix operator,
but I believe the only viable such prospective syntax is in patterns
(destructuring on steroids), so not after a ( that starts an argument list.
More information about the es-discuss