2 ms·
You probably want to be able to inherit behaviour. So e.g. in a language with interfaces you want interfaces to have inheritance but perhaps not concrete types.
by tialaramex 4y ago
You probably want to be able to inherit behaviour. So e.g. in a language with interfaces you want interfaces to have inheritance but perhaps not concrete types.
You definitely don't want multiple inheritance of concrete types. I wrote a bunch of Python without ever realising it had multiple inheritance and I feel like that's a lucky escape, inheritance on concrete types causes problems, but multiple inheritance causes exponentially worse problems. Scenarios people have shown me of "good" multiple inheritance in Python all looked like regrettable mistakes.