Mixin
id:
mixin-172-9389328
title:
Mixin
text:
In object-oriented programming languages, a mixin is a class that contains methods for use by other classes without having to be the parent class of those other classes. How those other classes gain access to the mixin's methods depends on the language. Mixins are sometimes described as being "included" rather than "inherited". Mixins encourage code reuse and can be used to avoid the inheritance ambiguity that multiple inheritance can cause, or to work around lack of support for multiple inherit
brand slug:
wiki
category slug:
encyclopedia
description:
Class in object-oriented programming languages
original url:
https://en.wikipedia.org/wiki/Mixin
date created:
2003-07-19T01:14:54Z
date modified:
2024-09-02T07:29:30Z
main entity:
{"identifier":"Q775794","url":"https://www.wikidata.org/entity/Q775794"}
image:
fields total:
13
integrity:
15