Maybe ban holes, then...
rossberg at google.com
Fri Feb 3 02:32:30 PST 2012
On 2 February 2012 23:48, Brendan Eich <brendan at mozilla.org> wrote:
> 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.
Is it clear that we don't want wildcards anyway? They seem just too
damn useful and trivial, and destructuring feels rather incomplete
If it's just a question of syntax, then I think . or perhaps # may be
a suitable candidates.
More information about the es-discuss