[go: nahoru, domu]

Jump to content

Mixin

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Robbot (talk | contribs) at 00:27, 21 March 2004 (Andre Engels - Robot-assisted disambiguation: Functions). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.