Do you want mixin syntax in JS, and if so, which semantics? In the prototype chain means super works.
-
-
If it's to avoid code duplication and have shared functionalities, I usually prefer decorators and utility functions, they're clearer. imho
-
I agree, usually!
-
plus we all know what "it offers it as an option" leads to :p
-
Eh not a huge fan of holding back useful tools for fear people might cut off their finger. Teams can use lints for that if they want.
-
sure, it depends on how you want to structure a framework, capabilities or conventions. I like the ember way of strongly suggesting the 2nd
-
Ember has both. Capabilities under the hood, conventions above it. Which I guess argues for decorators implementing mixins :)
-
you can also use Classes under the hood :p
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.