Abstract
We propose two new constructs for object oriented programming that significantly increase polymorphism. Consequently, code may be reused in ways unaccounted for by existing machinery. These constructs of type correspondence and partial inheritance are motivated from metaphors of natural language and thought. They establish correspondences between types non of which is (necessarily) a subtype of the other. As a result, methods may operate on objects - and may receive arguments - of types different than the ones originally intended for. The semantics of the proposed constructs generalizes that of ordinary inheritance, thereby establishing the latter as a special case. We show that the incorporation of these constructs in programming supports the process of natural software evolution and contributes to a better conceptual organization of the type system.
Original language | English |
---|---|
Title of host publication | ECOOP 1996 – Object-Oriented Programming - 10th European Conference, Proceedings |
Editors | Pierre Cointe, Pierre Cointe |
Publisher | Springer Verlag |
Pages | 449-471 |
Number of pages | 23 |
ISBN (Print) | 9783540614395, 9783540614395 |
DOIs | |
State | Published - 1996 |
Event | 10th European Conference on Object-Oriented Programming, ECOOP 1996 - Linz, Austria Duration: 8 Jul 1996 → 12 Jul 1996 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 1098 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 10th European Conference on Object-Oriented Programming, ECOOP 1996 |
---|---|
Country/Territory | Austria |
City | Linz |
Period | 8/07/96 → 12/07/96 |
Bibliographical note
Publisher Copyright:© Springer-Verlag Berlin Heidelberg 1996.