I updated the proposal with sections for motivation, comparison with other kinds of mixins and protocols. https://github.com/raulsebastianmihaila/ecma262-definition-mixins-proposal
The protocols, in their current form, are a naive kind of mixin imlementation. I think it's better to separate contracts from mixins and it's possible to use them together for using the default implementations that the protocols may provide. Would any TC39 member like to champion this proposal?
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

