Abstract | ||
---|---|---|
AbstractReuse in object-oriented languages typically focuses on inheritance. Numerous techniques have been developed to provide finer-grained reuse of methods, such as flavors, mixins, and traits. These techniques, however, only deal with reuse at the level of classes. Class-based reuse is inherently static. Increasing use of reflection and meta-programming techniques in real-world applications underlines the need for more dynamic approaches. New approaches have shifted to object-specific reuse. However, these techniques fail to provide a complete solution to the composition issues arising during reuse. We propose a new approach that deals with reuse at the object level and that supports behavioral and state composition. We introduce a new abstraction called a talent that models features that are shared between objects of different class hierarchies. Talents provide a composition mechanism that is as flexible as that of traits but that is dynamic. Copyright © 2012 John Wiley & Sons, Ltd. |
Year | DOI | Venue |
---|---|---|
2014 | 10.1002/spe.2160 | Periodicals |
Keywords | Field | DocType |
reflection,object adaption,object-specific behavior,Smalltalk,traits,Mixins | Programming language,Abstraction,Computer science,Reuse,Smalltalk,Hierarchy | Journal |
Volume | Issue | ISSN |
44 | 4 | 0038-0644 |
Citations | PageRank | References |
2 | 0.41 | 24 |
Authors | ||
5 |
Name | Order | Citations | PageRank |
---|---|---|---|
Jorge Ressia | 1 | 43 | 4.74 |
Tudor Gîrba | 2 | 456 | 26.89 |
Oscar Nierstrasz | 3 | 2404 | 346.86 |
Fabrizio Perin | 4 | 28 | 4.12 |
Lukas Renggli | 5 | 170 | 12.95 |