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.

Loading...

This page contains content from the copyrighted Wikipedia article "Mixin"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.