Classes as Sugar is now ready for discussion

David Herman dherman at mozilla.com
Wed Sep 8 14:39:39 PDT 2010


> Does that feeling carry over to any variants that might actually
> include new syntax?

The issue isn't whether it introduces new syntax, it's whether it introduces new semantics. The Traits library, as written, is completely implementable as a library in the existing language.

That's not to say that we should *never* add new already-implementable libraries to the standard. Sometimes they fill an obvious hole (like Array.prototype.forEach), or they are clear, stable, and popular (like JSON).

Dave



More information about the es-discuss mailing list