usable enough private names (was: Re: Using Object Literals as Classes)

Axel Rauschmayer axel at rauschma.de
Fri Mar 16 22:50:28 PDT 2012


private x,y; is syntactically tricky inside an object initializer. The previous consensus was to use
     private { x, y }

For example here:
https://gist.github.com/1332193 (Brendan’s class proposal)
https://gist.github.com/1336846 (my class proposal)

On Mar 16, 2012, at 22:24 , Domenic Denicola wrote:

> Yes, this looks pretty solid, although I can't remember seeing it anywhere.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



More information about the es-discuss mailing list