On Thu, Sep 26, 2013 at 4:20 PM, Allen Wirfs-Brock <al...@wirfs-brock.com>wrote:

>
> On Sep 26, 2013, at 4:12 PM, Brandon Benvie 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).
>
> It moves the stratified names out of the syntactic space that JS
> programmers typically use for their own names.  The Dunder names don't have
> that characteristics plus various sort of "_" prefixing is already used by
> many programmer at the application level.
>

Agreed, but this problem will come right back in ES7. Private names don't
solve this issue because of where they trap, so we don't need a temporary
patch, but a permanent solution.


>
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to