WeakMap better than Private Symbols? (was: direct_proxies "problem")

Kevin Smith khs4473 at gmail.com
Thu Jan 10 08:55:32 PST 2013

> They both have their place since there's many uses for both inherited and
> non-inherited private values.

Can we see some demonstrated use-cases for which WeakMaps are insufficient,
and private properties are?  I continue to hear that private symbols are a
great idea without any discussion of the tradeoff:  a more complicated (and
more difficult to reason about) runtime object model.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130110/93c4f7ee/attachment.html>

More information about the es-discuss mailing list