Minimalist Classes

Brendan Eich brendan at
Wed Nov 2 10:11:08 PDT 2011

On Nov 2, 2011, at 5:34 AM, Axel Rauschmayer wrote:

> I think the namespacing via this is a feature, it give the code a nice uniform look:
>     if ( ===

You can use this at priv == other at priv if you like. My proposal, after Ruby and CoffeeScript, is to support @priv (with [no LineTerminator here] before the @) as shorthand for this at priv.

Try it out, you'll like it -- especially where there's no other at priv in sight.


More information about the es-discuss mailing list