ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Redesigning with traits: the Nile stream trait-based library
Full text PdfPdf (1.31 MB)
Source ACM International Conference Proceeding Series; Vol. 286 archive
Proceedings of the 2007 international conference on Dynamic languages: in conjunction with the 15th International Smalltalk Joint Conference 2007 table of contents
Lugano, Switzerland
SESSION: Change table of contents
Pages: 50-75  
Year of Publication: 2007
ISBN:978-1-60558-084-5
Authors
Damien Cassou  University of Savoie, France
Stéphane Ducasse  University of Savoie, France
Roel Wuyts  Leuven and Université Libre de Bruxelles
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 17,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1352678.1352682
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Schärli, N., Ducasse, S., Nierstrasz, O., Black, A.: Traits: Composable units of behavior. In: Proceedings of European Conference on Object-Oriented Programming (ECOOP'03). Volume 2743 of LNCS., Springer Verlag (July 2003) 248--274
2
 
3
Bergel, A., Ducasse, S., Nierstrasz, O., Wuyts, R.: Stateful traits. In: Advances in Smalltalk --- Proceedings of 14th International Smalltalk Conference (ISC 2006). Volume 4406 of LNCS., Springer (2007) 66--90
4
 
5
Schärli, N., Ducasse, S., Nierstrasz, O., Wuyts, R.: Composable encapsulation policies. In: Proceedings of European Conference on Object-Oriented Programming (ECOOP'04). LNCS 3086, Springer Verlag (June 2004) 26--50
6
 
7
ANSI New York: American National Standard for Information Systems -- Programming Languages -- Smalltalk, ANSI/INCITS 319-1998. (1998) http://wiki.squeak.org/squeak/uploads/172/standard_v1_9-indexed.pdf.
8
 
9
10
11
12
13
 
14
Casais, E.: Automatic reorganization of object-oriented hierarchies: A case study. Object-Oriented Systems 1(2) (December 1994) 95--115
15


Collaborative Colleagues:
Damien Cassou: colleagues
Stéphane Ducasse: colleagues
Roel Wuyts: colleagues