出典:Wiktionary
mix-in (複数形 mix-ins)
出典:『Wiktionary』 (2026/02/16 23:17 UTC 版)
mixin (plural mixins)
出典:Wikipedia
出典:『Wikipedia』 (2011/06/20 16:39 UTC 版)
In object-oriented programming languages, a mixin is a class that provides a certain functionality to be inherited or just reused by a subclass, while not meant for instantiation (the generation of objects of that class). Inheriting from a mixin is not a form of specialization but is rather a means of collecting functionality. A class may inherit most or all of its functionality from one or more mixins through multiple inheritance.