Dean Landolt dean at deanlandolt.com
Thu Mar 15 07:45:56 PDT 2012

On Thu, Mar 15, 2012 at 10:30 AM, Kevin Smith <khs4473 at gmail.com> wrote:

> Hi Allen,
> In this stawman<http://wiki.ecmascript.org/doku.php?id=strawman:private_names>,
> private members are accessed using obj.name, where "name" can be a
> private name that is in scope.  Why was this strategy abandoned?

This conflates lookup by object key vs. string key and could be incredibly
confusing. And what happens when you have a private name locally scoped to
the symbol "foo" and a string key "foo"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120315/54ef127d/attachment.html>

More information about the es-discuss mailing list