Tags: Genre, Music Genre, Topical Concept.
In object-oriented programming languages a mixin is a class which contains a combination of methods from other classes. How such combination is done depends on the language but it is not by inheritance. If a combination contains all methods of combined classes it is equivalent to multiple inheritance.Mixins encourage code reuse and avoid well-known pathologies associated with multiple inheritance.A mixin can also be viewed as an interface with implemented methods.