different between subclass vs mixin

subclass

English

Alternative forms

  • sub-class

Etymology

sub- +? class

Pronunciation

  • Hyphenation: sub?class

Noun

subclass (plural subclasses)

  1. (object-oriented programming) An object class derived from another class (its superclass) from which it inherits a base set of properties and methods.
  2. (taxonomy) A rank directly below class
  3. A secondary class within a main class.
    • 1959, "Steam's Finest Hour" edited by David P. Morgan, Kalmbach Publishing Co., referring to the R-1 Mountain class loco.

Synonyms

  • (computing): child class, derived class, heir class
  • (general): subset

Antonyms

  • superclass
  • superset

Hypernyms

  • class

Translations

Verb

subclass (third-person singular simple present subclasses, present participle subclassing, simple past and past participle subclassed)

  1. (transitive, computing) (in object-oriented programming) To create a subclass of (some class).
    I subclassed the Button class to create a more specialised FancyButton class for my user interface.
  2. (transitive, computing) To cause (an object) to act as an instance of a subclass (by creating the desired subclass and instantiating an object of this subclass).
    • 2000, James D. Foxall, MCSD in a Nutshell: The Visual Basic Exams (page 93)
      Since Windows knows about these events, your application should be able to know about them as well. In order to accomplish this, subclass the window of a form or control, intercepting all of its events.

Antonyms

  • (cause to act as a member of a subclass): unsubclass

Derived terms

  • subclassable
  • unsubclass

subclass From the web:

  • what subclass is lord shaxx
  • what subclass is crow
  • what subclass is yasha
  • what subclass is zavala
  • what subclass is caleb
  • what subclass was mollymauk
  • what subclass is cayde 6
  • what subclasses are in tasha's cauldron of everything


mixin

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

See also

  • interface
  • trait

References

Anagrams

  • Minix, inmix

mixin From the web:

  • what mixing method is used for cookies
  • what mixing method is used for pie
  • what mixing method is used for muffins
  • what mixing method is used for scones
  • what mixing method is used to make french bread
  • what mixing method is used for pie dough
  • what mixing method is used to make muffins
  • what mixing method is used for angel food cake
+1
Share
Pin
Like
Send
Share

you may also like