Indeed, controversial news from TC39 front. Object.mixin removed, `super` is the guilty. Doesn’t feel good http://mozilla.6506.n7.nabble.com/November-20-2013-Meeting-Notes-td300810.html#a300858 …
@medikoo I don't think that's quite what happened. Why doesn't Object.assign work for you?
-
-
@wycats That’s how I understood the notes. Object.assign works for me very well, I use it even more often, but it’s different use cases -
@medikoo toMethod was needed to avoid a new "magic, syntax-only" feature that existing code had to take all-or-nothing -
@wycats toMethod sounds reasonable. To clarify: Copying via Object.assign (which I take stays?) will create function copies with diff super? -
@medikoo the super's "home" won't change from its original object. We're hoping for userland guidance for ES7 -
@wycats thanks. So what are the objections to do same in case of Object.mixin, instead of removing it from spec? -
@medikoo we couldn't change it in the future to do something better with super, but would prefer to pave a cowpath than up-front design here
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.