Everything About ___
Live briefing

Everything about Mixin

Class used for injecting methods

In object-oriented programming languages, a mixin is a class that contains methods for use by other classes without having to be the parent class of those other classes. How those other classes gain access to the mixin's methods depends on the language. Mixins are sometimes described as being "included" rather than "inherited". Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: MixinA 5-minute orientation
  2. Skim a recent paper: Mixin Things Up!Influential work since 2022
  3. Pick up a classic book: The Dart Programming LanguageThe most-reprinted book on the subject
  4. Read the landmark paper: Mixin layersCited 172 times
  5. Go sideways: Trait (computer programming)A closely related topic
  6. Go sideways: Template (C++)A closely related topic

📖 Definitions

Noun An uninstantiable class that provides functionality to be inherited by a subclass.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics