Tom Ritchford
Jun 3, 2023

--

Occasionally, yes, but no one forces us to use multiple inheritance, do they?

Multiple inheritance is tricky in all languages which support it. The ones that don't, like Java, rely on some other concept like "interfaces" to do the same thing.

in particular, mixins, classes you inherit from which are only behavior and have no constructor, work awesomely well in Python.

--

--

Responses (1)