Mixin-based inheritance
Gilad Bracha, William R. Cook · ACM SIGPLAN Notices · 1990
The diverse inheritance mechanisms provided by Smalltalk, Beta, and CLOS are interpreted as different uses of a single underlying construct. Smalltalk and Beta differ primarily in the direction of class hierarchy growth. These inheritance mechanisms are subsumed in a new inheritance model based on composition of mixins, or abstract subclasses. This form of inheritance can also encode a CLOS multiple-inheritance hierarchy, although changes to the encoded hierarchy that would violate encapsulation are difficult. Practical application of mixin-based inheritance is illustrated in a sketch of an extension to Modula-3.
Cited by 138 works. doi:10.1145/97946.97982 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Object-oriented programming with flavors
- Research directions in object-oriented programming
- A semantics of multiple inheritance
- Encapsulation and inheritance in object-oriented programming languages
- A denotational semantics of inheritance and its correctness
- Objects as closures: abstract semantics of object-oriented languages
- An outline of the programming language SIMULA