Object.mixin( source, target ) | arguments changed

Domenic Denicola domenic at domenicdenicola.com
Thu Jun 13 09:08:35 PDT 2013

It seems es-discuss receives a lot of these emails, bikeshedding the behavior of `Object.mixin` from people with preconceived notions of what a "mixin" is and what a mixin function should do, how it should integrate with class syntax, etc. In contrast, when it was just `Object.define`, it was obscure enough nobody seemed to misinterpret it in such ways.

I'm not necessarily suggesting TC39 should switch the name just so that es-discuss stops getting these kind of emails... but maybe it's a sign that "mixin" is not the best choice.

More information about the es-discuss mailing list