Mixins are a great idea. Whatever decision is made about the position and name of the inheritance declaration, they add a lot of value and are very easy to understand.
A couple of related ideas: class Vector { <superclass: Point, uses: Comparable> } "uses" looks like a better fit. It's shorter and it's already used by many documentation generators (YUI Doc comes to mind). Also, more than one mixin could be easily added: class Vector { <superclass: Point, uses: [Comparable, Measurable]> } Juan
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss