Definition mixins

Isiah Meadows isiahmeadows at
Sat Nov 18 17:19:26 UTC 2017

Protocols are not mixins - they're interfaces. They specify minimum
behavior required to implement (their primary focus), not simply extended
behavior. In particular, protocols and mixins would be more complementary
than conflicting.

On Sat, Nov 18, 2017, 04:48 Raul-Sebastian Mihăilă <raul.mihaila at>

> I updated the proposal with sections for motivation, comparison with other
> kinds of mixins and protocols.
> 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
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list