Class Syntax Proposal, Complete With Arguments For and Examples.

Mark S. Miller erights at
Sat Sep 17 15:37:55 PDT 2011

Hi Jonathan,

Your class recapitulates a mistake the committee almost made as well. Your
private and public member are in the same namespace. Private members should
not affect the behavior of the public API. However, if a class makes an
extensible instance, and a client of the instance tries to add an "_x"
expando property to that instance, where that happens to conflict with one
of that abstraction's private names, what should happen?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list