Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

mixin en · NOUN

Pronunciation

  • /ˈmɪksɪn/

Etymology

Deverbal from mix in.

Meanings

  1. (qualifier: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.

Forms

SpellingFeaturesLabelsSource
mixins Number=Plur lexicographic
mix-in alternative lexicographic

Relateds

mix-in · interface · trait

Synonyms

abstract base class