mixin
A mixin is functionality intended to be inherited into another class as part of its implementation without implying specialization ("kind of" relationship) of the providing class.
"The term mixin comes from an ice cream store in Sommerville, Massachusetts, where candies and cakes were mixed into the basic ice cream flavors. This seemed like a good metaphor to some of the object-oriented programmers who used to take a summer break there, especially while working with the object-oriented programming language SCOOPS." (SAMS Teach Yourself C++ in 21 Days, 4th ed., p. 458.)
Copyright © 2003-2008 Gerard Meszaros all rights reserved