Black, Andrew P.; Schärli, Nathanael (May 2004). Traits: Tools and Methodology. International Conference on Software Engineering, pp. 676-686. IEEE Computer Society 10.1109/ICSE.2004.1317489
Text
01317489.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (992kB) |
Traits are an object-oriented programming language construct that allow groups of methods to be named and reused in arbitrary places in an inheritance hierarchy. Classes can use methods from traits as well as defining their own methods and instance variables. Traits thus enable a new style of programming, in which traits rather than classes are the primary unit of reuse. However, the additional sub-structure provided by traits is always optional: a class written using traits can also be viewed as a flat collection of methods, with no change in its semantics. This paper describes the tool that supports these two alternate views of a class, called the traits browser, and the programming methodology that we are starting to develop around the use of traits.
Item Type: |
Conference or Workshop Item (Paper) |
---|---|
Division/Institute: |
08 Faculty of Science > Institute of Computer Science (INF) 08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued] |
ISSN: |
0270-5257 |
ISBN: |
0-7695-2163-0 |
Publisher: |
IEEE Computer Society |
Language: |
English |
Submitter: |
Anja Ebeling |
Date Deposited: |
29 Jan 2018 16:49 |
Last Modified: |
11 Apr 2024 16:11 |
Publisher DOI: |
10.1109/ICSE.2004.1317489 |
BORIS DOI: |
10.7892/boris.104402 |
URI: |
https://boris.unibe.ch/id/eprint/104402 |