new strawman: syntactic support for private names

Axel Rauschmayer axel at
Tue Aug 28 16:59:45 PDT 2012

Couldn’t you have the same advantages if:
- obj. at foo was syntactic sugar for obj[foo]
- @foo was syntactic sugar for [foo] (method definitions, property definitions, etc.)

foo would be a normal variable and the following two statements would be equivalent:
     private foo;
     let foo = new Name();

foo containing a string would also work.

That would be slightly simpler and go together well with your proposed object model reformation [1]:


On Aug 29, 2012, at 1:04 , Allen Wirfs-Brock <allen at> wrote:

> The strawman is at 
> Allen
> _______________________________________________
> es-discuss mailing list
> es-discuss at

Dr. Axel Rauschmayer
axel at


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

More information about the es-discuss mailing list