Existential operator (was: ||= is much needed?)

Jeremy Ashkenas jashkenas at gmail.com
Tue Jun 19 12:03:30 PDT 2012

On Tue, Jun 19, 2012 at 2:59 PM, Brendan Eich <brendan at mozilla.org> wrote:

> Herby Vojčík wrote:
>> Will you include options.success?.[index] then, too?
> I wasn't planning on it. CoffeeScript does not have any such thing
> (spelling it ?[ would be hard in CS too, due to array literals). Could add
> it in the future, trying not to overdo the strawman at this point. YAGNI
> and KISS and when-in-doubt-leave-it-out all are against it.

Actually, CoffeeScript definitely has it for consistency's sake:


... we don't have a problem with being whitespace-sensitive for situations
like this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120619/c5895e90/attachment.html>

More information about the es-discuss mailing list