Minimalist (why) classes ?

Brendan Eich brendan at
Sun Nov 13 09:34:27 PST 2011

On Nov 13, 2011, at 9:30 AM, Brendan Eich wrote:

> The hard cases include:
> 1. Closures.
> 2. Proxies.
> 3. Private names.
> 4. Internal hidden state.
> 5. Side-table entries mapped to the object's identity.

In the case of objects implemented by C++ or whatever the host implementation language might be, the internal or side-table state may not even be representable in JS, even in strings (do not want raw pointers, or machine addresses however obfuscated, to leak to an attacker).


More information about the es-discuss mailing list