News

I've recently come across a use of multiple inheritance in some python code that shows me why this is multiple inheritance is a bad thing. It seems to break the OOP concept of encapsulation.
I basically want to do multiple inheritance with mixins. I'll explain what I want to do in Python, since that's what I know best (pretend that only cars have electric starters, and motorcycles can ...
Multiple interface inheritance still allows an object to inherit methods and to behave polymorphically on those methods. The inheriting object just doesn’t get an implementation free ride.