Waldemar Horwat (2013-09-27T22:45:37.000Z)
On 09/26/2013 04:22 PM, Yehuda Katz wrote:
> On Thu, Sep 26, 2013 at 4:20 PM, Allen Wirfs-Brock <allen at wirfs-brock.com <mailto: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.

It's even back in ES6 with "then".  I find it truly weird that we're trying to use two different mechanisms to get the <then> and <iterate> metaproperties.  We should be cutting down the complexity, not adding to it in a manner which the unknowns bouncing around this thread indicate is reckless.

     Waldemar
domenic at domenicdenicola.com (2013-10-13T02:42:08.297Z)
On 09/26/2013 04:22 PM, Yehuda Katz wrote:
> 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.

It's even back in ES6 with "then".  I find it truly weird that we're trying to use two different mechanisms to get the <then> and <iterate> metaproperties.  We should be cutting down the complexity, not adding to it in a manner which the unknowns bouncing around this thread indicate is reckless.