WeakMap better than Private Symbols? (was: direct_proxies "problem")
domenic at domenicdenicola.com
Thu Jan 10 08:58:10 PST 2013
From: Brandon Benvie [brandon at brandonbenvie.com]
Sent: Thursday, January 10, 2013 11:50
> They both have their place since there's many uses for both inherited and non-inherited private values.
Of course, (non-)inheritance is a great point.
Amusingly, using "conventional" OO terminology, it seems private symbols give you something like "protected" and weak maps give you "private".
More information about the es-discuss