mixin

From Wiktionary, the free dictionary
Jump to navigation Jump to search
See also: míxìn and mix-in

English

[edit]

Etymology

[edit]

mix +‎ in

Pronunciation

[edit]

Noun

[edit]

mixin (plural mixins)

English Wikipedia has an article on:
Wikipedia
  1. (object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass.
    Traits are somewhat between an interface and a mixin, as an interface contains only method signatures, while a trait includes also the full method definitions; on the other side mixins include method definitions, but they can also carry state through attributes, while traits usually don't.

Synonyms

[edit]

See also

[edit]

References

[edit]
  1. ^ Mixin”, in (Please provide the book title or journal name), English Wikipedia, 2012 May 15 (last accessed):Mixins are synonymous with abstract base classes.

Anagrams

[edit]