I've always been told that multiple inheritance is a bad thing, so I've tried to avoid. I didn't dig into why its a problem. I've recently come across a use of multiple inheritance in some python code ...
If single inheritance is a good idea then surely multiple inheritance is an even better idea. There is a problem, however, and it is quite a big problem – the so called diamond problem. If you allow ...
Python supports multiple inheritance which can be scary, but the trick is to make it as much like single inheritance as possible and this is what Python does. This extract is from my new book with the ...