"mixin" meaning in English

See mixin in All languages combined, or Wiktionary

Noun

IPA: /ˈmɪksɪn/ Forms: mixins [plural]
Etymology: mix + in Etymology templates: {{compound|en|mix|in}} mix + in Head templates: {{en-noun}} mixin (plural mixins)
  1. (object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass. Wikipedia link: mixin Categories (topical): Object-oriented programming Synonyms: abstract base class Related terms: interface, trait
    Sense id: en-mixin-en-noun-gY4xPX1i Categories (other): English entries with incorrect language header

Inflected forms

Alternative forms

Download JSON data for mixin meaning in English (1.9kB)

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "mix",
        "3": "in"
      },
      "expansion": "mix + in",
      "name": "compound"
    }
  ],
  "etymology_text": "mix + in",
  "forms": [
    {
      "form": "mixins",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mixin (plural mixins)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Object-oriented programming",
          "orig": "en:Object-oriented programming",
          "parents": [
            "Programming",
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "text": "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."
        }
      ],
      "glosses": [
        "An uninstantiable class that provides functionality to be inherited by a subclass."
      ],
      "id": "en-mixin-en-noun-gY4xPX1i",
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "uninstantiable",
          "uninstantiable"
        ],
        [
          "class",
          "class"
        ],
        [
          "functionality",
          "functionality"
        ],
        [
          "inherit",
          "inherit"
        ],
        [
          "subclass",
          "subclass"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass."
      ],
      "related": [
        {
          "word": "interface"
        },
        {
          "word": "trait"
        }
      ],
      "synonyms": [
        {
          "word": "abstract base class"
        }
      ],
      "wikipedia": [
        "mixin"
      ]
    }
  ],
  "sounds": [
    {
      "ipa": "/ˈmɪksɪn/"
    }
  ],
  "word": "mixin"
}
{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "mix",
        "3": "in"
      },
      "expansion": "mix + in",
      "name": "compound"
    }
  ],
  "etymology_text": "mix + in",
  "forms": [
    {
      "form": "mixins",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "mixin (plural mixins)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "interface"
    },
    {
      "word": "trait"
    }
  ],
  "senses": [
    {
      "categories": [
        "English 2-syllable words",
        "English compound terms",
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English nouns",
        "English terms with IPA pronunciation",
        "en:Object-oriented programming"
      ],
      "examples": [
        {
          "text": "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."
        }
      ],
      "glosses": [
        "An uninstantiable class that provides functionality to be inherited by a subclass."
      ],
      "links": [
        [
          "object-oriented programming",
          "object-oriented programming"
        ],
        [
          "uninstantiable",
          "uninstantiable"
        ],
        [
          "class",
          "class"
        ],
        [
          "functionality",
          "functionality"
        ],
        [
          "inherit",
          "inherit"
        ],
        [
          "subclass",
          "subclass"
        ]
      ],
      "qualifier": "object-oriented programming",
      "raw_glosses": [
        "(object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass."
      ],
      "wikipedia": [
        "mixin"
      ]
    }
  ],
  "sounds": [
    {
      "ipa": "/ˈmɪksɪn/"
    }
  ],
  "synonyms": [
    {
      "word": "abstract base class"
    }
  ],
  "word": "mixin"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-01 from the enwiktionary dump dated 2024-04-21 using wiktextract (f4fd8c9 and c9440ce). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.