Private names use cases
allen at wirfs-brock.com
Mon Dec 20 09:21:40 PST 2010
I've seen mentions in the recent thread that the goal of the "Private Names" proposal was to support "private fields" for objects. While that may be a goal of some participants in the discussion, it is not what I would state as the goal.
I have two specific use cases in mind for "private names":
2) Allow third-party property extensions to built-in objects or third-party frameworks that are guaranteed to not have naming conflicts with unrelated extensions to the same objects.
Of these two use cases, the second may be the more important.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss