Mixin: Difference between revisions
Appearance
Content deleted Content added
SeanProctor (talk | contribs) m minor style edits |
No edit summary |
||
Line 1: | Line 1: | ||
In [[computer science]], a '''mixin''' is a group of [[function (programming)|function]]s which can be mixed into a class and become [[method (computer science)|method]]s. They allow certain classes to take on certain functionality, in an [[object-oriented programming]] language that supports [[multiple inheritance]], just as if the class |
In [[computer science]], a '''mixin''' is a group of [[function (programming)|function]]s which can be mixed into a class and become [[method (computer science)|method]]s. They allow certain classes to take on certain functionality, in an [[object-oriented programming]] language that supports [[multiple inheritance]], just as if the class were a cooking dish and a mixin was a specific ingredient. |
Revision as of 20:14, 16 October 2004
In computer science, a mixin is a group of functions which can be mixed into a class and become methods. They allow certain classes to take on certain functionality, in an object-oriented programming language that supports multiple inheritance, just as if the class were a cooking dish and a mixin was a specific ingredient.