Maybe ban holes, then...

Brendan Eich brendan at mozilla.org
Thu Feb 2 14:48:00 PST 2012


Andreas Rossberg wrote:
> Are you implying that wildcards are more ad-hoc than array holes? That
> doesn't add up for me.

In abstract, or in other languages with wildcards, no.

In JS, yes, ad-hoc hole stomping is a waste of time and ad-hoc as far as 
I know ("to this", specifically toward the goal of stomping holes 
gratuitously). We are not adding _ magic meaning. I don't see * fitting. 
No one is asking for another extension here.

Onward to more pressing matters :-P.

/be


More information about the es-discuss mailing list