Do you want mixin syntax in JS, and if so, which semantics? In the prototype chain means super works.
-
-
Maybe it is a bit zealous, but I see inheritance as inherently (heh) bad. Any future language development should move away from inheritance.
-
Maybe that's an extreme opinion, but there are now tons of languages which prove that inheritance isn't necessary.
-
I don't think that's true. I think it's useful largely for frameworks, which have their place. Rust specialization shows this.
End of conversation
New conversation -
-
-
Also, I find the trend of calling something "dogma" or "zealotry" when there is ample evidence to support it tiring.
-
The issues with class-based inheritance are well-known.
End of conversation
New conversation -
-
-
I'd take global monkey-patching any day.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Just read about Ruby refinements. Yikes. Objects magically receive different methods based on what block they are in. WTF!?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I honestly don't know enough about refinements, it seems okay to me from what I've seen. Resolution should be purely lexical though.
-
If refinements start messing with the inheritance chain then that doesn't seem ideal. If they work like Rust's traits, then that's better.
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.