| Traits: experience with a language feature |
| Full text |
Pdf
(320 KB)
|
| Source
|
Conference on Object Oriented Programming Systems Languages and Applications
archive
Companion to the 19th annual ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications
table of contents
Vancouver, BC, CANADA
SESSION: Practitioner reports
table of contents
Pages: 275 - 282
Year of Publication: 2004
ISBN:1-58113-833-4
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 7, Downloads (12 Months): 19, Citation Count: 1
|
|
|
ABSTRACT
This paper reports our experiences using traits, collections of pure methods designed to promote reuse and understandability in object-oriented programs. Traits had previously been used to refactor the Smalltalk collection hierarchy, but only by the creators of traits themselves. This experience report represents the first independent test of these language features. Murphy-Hill implemented a substantialmulti-class data structure called ropes that makes significant use of traits. We found that traits improved understandability and reduced the number of methods that needed to be written by 46%.
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
|
|
| |
2
|
A. P. Black, "Cords," 1.0 ed. Beaverton, Oregon, USA: OGI School of Science & Engineering, 1998, http://www.cse.ogi.edu/ black/3AspectExamples/cords.html
|
 |
3
|
Andrew P. Black , Nathanael Schärli , Stéphane Ducasse, Applying traits to the smalltalk collection classes, Proceedings of the 18th annual ACM SIGPLAN conference on Object-oriented programing, systems, languages, and applications, October 26-30, 2003, Anaheim, California, USA
|
| |
4
|
|
| |
5
|
N. Schärli, S. Ducasse, O. Nierstrasz, and A. P. Black, "Traits: Composable Units of Behavior," European Conference on Object-Oriented Programming (ECOOP), Springer LNCS 2743, Darmstadt, Germany, June 2003.
|
| |
6
|
|
| |
7
|
Squeak, "Squeak, Home Page" accessed June 2003: Squeak Foundation, 2000. http://www.squeak.org
|
 |
8
|
|
CITED BY
|
|
Philip J. Quitslund , Emerson R. Murphy-Hill , Andrew P. Black, Supporting Java traits in Eclipse, Proceedings of the 2004 OOPSLA workshop on eclipse technology eXchange, p.37-41, October 24-24, 2004, Vancouver, British Columbia, Canada
|
|