On Thu, Sep 26, 2013 at 4:12 PM, Brandon Benvie <[email protected]> wrote:
> On 9/26/2013 4:09 PM, Allen Wirfs-Brock wrote: > >> The newness was using using string literals+ concise methods to write >> such meta=level methods. >> >> What it brings to the table is that it address the meta stratification >> issue in a reasonable manner without having to add anything (other than the >> use of the hooks) to the ES5 level language. (and I'm ignoring the >> enumerability issues). >> > > I don't see how any of the string key proposals so far are different from > __proto__, which we agree is not an adequate level of stratification (none > basically). Indeed. The reason dunder doesn't work is that it's used in user-land due to the spec's usage, which means that it's not implausible that some library uses __iterator__ already for a different (or even similar) purpose. The @ prefix dodged that bullet today (although it may introduce generated-code hazards), but it opens up exactly the same problem for the * next* time we need a new unique name. > > ______________________________**_________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss> >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

