[go: nahoru, domu]

Jump to content

Mixin: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Robbot (talk | contribs)
m Robot-assisted disambiguation Method
Dysprosia (talk | contribs)
expand
Line 1: Line 1:
In [[computer science]], a <b>mixin</b> is a group of [[functions]] which can be mixed into a class and become [[method (computer science)|method]]s.
In [[computer science]], a <b>mixin</b> is a group of [[functions]] 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 was a cooking dish and a mixin was a specific ingredient.

Revision as of 12:43, 1 February 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 was a cooking dish and a mixin was a specific ingredient.