Because really, when the fuck are two functionally distinct supersets going to have a method of the same name? And if they do, why not just TELL IT TO USE THE CORRECT ONE?!
Plus I'm fucking retarded for not having already had this paradigm-altering insight.
Name:
Anonymous2012-10-03 19:48
go away Bjarne
Name:
Anonymous2012-10-03 20:14
Mathematically single inheritance multiple interface is more elegant since it collapses into just one possible unambiguous implementation.
I use multiple inheritance sometimes, e. g. when I have class BaseReader
def parse
...
class BaseWriter
def store
...
class SomeFileShit(BaseReader, BaseWriter)
def store # Different from the default
# But parse is exactly the base case.
Sure, it is much more elegant in Haskell, but I ain't writin' no fuckin' Haskell on my day job muhfugga.