[go: nahoru, domu]

Jump to content

Mixin

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by SeanProctor (talk | contribs) at 18:27, 21 July 2004 (minor style edits). 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.