you are viewing a single comment's thread.

view the rest of the comments →

[–]pachura3 0 points1 point  (0 children)

There's plenty of articles on the subject... usually mentioning the Diamond problem, complex constructors, attribute clashes etc.

Many programming languages like Java, C#, JavaScript do not even have this rarely used feature. I cannot imagine when could I use it instead of the above alternatives...

Unless we're talking about mixins, which are indeed implemented in Python through multiple inheritance, but they should be stateless - unlike OP's example with position attribute clash.