May 26, 2018
Mix-in inheritance, an alternative to multiple inheritance
Mixin inheritance is an alternative to the usual multiple-inheritance and solves the problem of knowing which parent will be called. It also solves a number of tricky problems like diamond inheritance.
The idea is to solve the same sets of problems which MI solves without the problems of MI.