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

Brendan Eich brendan at mozilla.org
Tue Jun 19 11:59:43 PDT 2012


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.

/be


More information about the es-discuss mailing list