Search

Flattening Traits

By: Oscar Nierstrasz, Stéphane Ducasse, Nathanael Schärli

Abstract

Traits are fine-grained components that can be used to compose classes, while avoiding many of the problems of multiple inheritance and mixin-based approaches. Since most implementations of traits have focused on dynamically-typed languages, the question naturally arises, how can one best introduce traits to statically-typed languages, like Java and C#?

Cite as:

Oscar Nierstrasz, Stéphane Ducasse, Nathanael Schärli, “Flattening Traits”, Journal of Object Technology, Volume 5, no. 4 (May 2006), pp. 129-148, doi:10.5381/jot.2006.5.4.a4.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn