Private state doesn't satisfy these requirements because they trap on the wrong side of the proxy.
Yehuda Katz (ph) 718.877.1325 On Thu, Sep 26, 2013 at 3:47 PM, Allen Wirfs-Brock <[email protected]>wrote: > > On Sep 26, 2013, at 3:39 PM, Rick Waldron wrote: > > > > > The Symbol isn't exposed so therefore can't accidentally be used to > accidentally pave over the subclass instance object's events cache. As far > as the "@RickWaldron@events" Hungarian notation monstrosity is concerned: > the first thing I thought when I saw this was that it would never pass any > practitioner's peer code review. This is worse then implied > collision-safety (or privacy, HA!) of "_"-prefixed properties—worse because > the language is saying "go ahead and do this". > > Oh, that's not Hungarian notation, it's just a name space qualifier. > > But, if you assume that we will added a real private state mechanism into > "ES 6.1" or "ES6.2" will Symbol really carry its weight looking back 10 > years from now? > > Allen > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

