Traits: A mechanism for fine-grained reuse

@article{Ducasse2006TraitsAM,
  title={Traits: A mechanism for fine-grained reuse},
  author={St{\'e}phane Ducasse and Oscar Nierstrasz and Nathanael Sch{\"a}rli and Roel Wuyts and Andrew P. Black},
  journal={ACM Trans. Program. Lang. Syst.},
  year={2006},
  volume={28},
  pages={331-388}
}
Inheritance is well-known and accepted as a mechanism for reuse in object-oriented languages. Unfortunately, due to the coarse granularity of inheritance, it may be difficult to decompose an application into an optimal class hierarchy that maximizes software reuse. Existing schemes based on single inheritance, multiple inheritance, or mixins, all pose numerous problems for reuse. To overcome these problems we propose traits, pure units of reuse consisting only of methods. We develop a formal… CONTINUE READING
Highly Influential
This paper has highly influenced a number of papers. REVIEW HIGHLY INFLUENTIAL CITATIONS
Highly Cited
This paper has 296 citations. REVIEW CITATIONS

21 Figures & Tables

Topics

Statistics

02040'05'07'09'11'13'15'17
Citations per Year

297 Citations

Semantic Scholar estimates that this publication has 297 citations based on the available data.

See our FAQ for additional information.