Bibliography

Query:
case sensitive

Sort by: Display: Hide controls:

  1. Damien Cassou, Stéphane Ducasse, and Roel Wuyts. Redesigning with Traits: the Nile Stream trait-based Library. In ICDL'07: Proceedings of the 15th International Conference on Dynamic Languages, p. 50—75, ACM Digital Library, Lugano, Switzerland, 2007. DOI PDF 
    Abstract

    Recently, traits have been proposed as a single inheritance backward compatible solution in which the composing entity has the control over the trait composition. Traits are fine-grained units used to compose classes, while avoiding many of the problems of multiple inheritance and mixin-based approaches. To evaluate the expressiveness of traits, some hierarchies were refactored, showing code reuse. However, such large refactorings, while valuable, may not be facing all the problems, since the hierarchies were previously expressed within single inheritance and following certain patterns. We wanted to evaluate how traits enable reuse, and what problems could be encountered when building a library using traits from scratch, taking into account that traits are units of reuse. This paper presents our work on designing a new stream library named Nile. We present the reuse that we attained using traits, and the problems we encountered.