Type substitution for object-oriented programming
DOI:
https://doi.org/10.7146/dpb.v19i317.6707Abstract
Genericity allows the substitution of types in a class. This is usually obtained through parameterized classes, although they are inflexible since any class can be inherited but is not in itself parameterized. We suggest a new genericity mechanism, type substitution, which is a subclassing concept that complements inheritance: any class is generic, can be ''instantiated'' gradually without planning, and has all of its generic instances as subclasses.Downloads
Published
1990-07-01
How to Cite
Palsberg, J., & Schwartzbach, M. I. (1990). Type substitution for object-oriented programming. DAIMI Report Series, 19(317). https://doi.org/10.7146/dpb.v19i317.6707
Issue
Section
Articles
License
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.