Object.mixin( source, target ) | arguments changed

Rick Waldron waldron.rick at gmail.com
Thu Jun 13 09:54:17 PDT 2013


On Thu, Jun 13, 2013 at 12:08 PM, Domenic Denicola <
domenic at domenicdenicola.com> wrote:

> 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.
>

These points are all very valid and I'd be willing to champion a name
change for these reasons.

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130613/cccc710e/attachment.html>


More information about the es-discuss mailing list