mixin

See also: míxìn and mix-in

English

Etymology

mix + in

Pronunciation

  • IPA(key): /ˈmɪksɪn/

Noun

mixin (plural mixins)

  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

  • abstract base class[1]

See also

References

  1. “Mixin”, in (Please provide the title of the work), English Wikipedia, accessed 2012-05-15: “Mixins are synonymous with abstract base classes.”

Anagrams

This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.