Ian Lewis 1/15/2013

Mixins and Python

Read Original

This article discusses Python mixins, a form of multiple inheritance used to add properties and methods to classes compositionally. It highlights a common error in mixin ordering that leads to unexpected method resolution and bugs, explaining the correct left-to-right class hierarchy for proper inheritance and conflict avoidance.

Mixins and Python

Comments

No comments yet

Be the first to share your thoughts!