Classes = Traits + States + Glue (Beyond mixins and multiple inheritance)

Schärli, Nathanael; Ducasse, Stéphane; Nierstrasz, Oscar (2002). Classes = Traits + States + Glue (Beyond mixins and multiple inheritance). Lecture notes in computer science, 2548. Springer

[img] Text
Scha02aTraitsPlusGlue2002.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (81kB) | Request a copy

We present a simple, component-based model of mixins, called traits, and argue that this simple model sidesteps many of the practical problems with other approaches to mixins and multiple inheritance. With our model, classes are built from a set of traits by specifying glue code that connects them together and accesses the necessary state. We briefly discuss practical experience with an implementation of traits for Squeak, and we list a number of open questions for discussion.

Item Type:

Conference or Workshop Item (Paper)

Division/Institute:

08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued]

UniBE Contributor:

Ducasse, Stephane, Nierstrasz, Oscar

Subjects:

000 Computer science, knowledge & systems
500 Science > 510 Mathematics

ISSN:

0302-9743

ISBN:

978-3-540-00233-8

Publisher:

Springer

Language:

English

Submitter:

Anja Ebeling

Date Deposited:

04 Dec 2017 14:34

Last Modified:

11 Apr 2024 16:11

BORIS DOI:

10.7892/boris.104758

URI:

https://boris.unibe.ch/id/eprint/104758

Actions (login required)

Edit item Edit item
Provide Feedback