Yehuda Katz (2013-09-26T23:22:31.000Z)
On Thu, Sep 26, 2013 at 4:20 PM, Allen Wirfs-Brock <allen at 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 at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130926/bf010d89/attachment-0001.html>
domenic at domenicdenicola.com (2013-10-13T02:34:56.213Z)
On Thu, Sep 26, 2013 at 4:20 PM, Allen Wirfs-Brock <allen at wirfs-brock.com>wrote:

> 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.