Static Typing for Object-Oriented Programming
DOI:
https://doi.org/10.7146/dpb.v20i355.6585Abstract
We develop a theory of statically typed object-oriented languages. It represents classes as labeled, regular trees, types as finite sets of classes, and subclassing as a partial order on trees. We show that our subclassing order strictly generalizes inheritance, and that a novel genericity mechanism arises as an order-theoretic complement. This mechanism, called class substitution, is pragmatically useful and can be implemented efficiently.Downloads
Published
1991-06-01
How to Cite
Palsberg, J., & Schwartzbach, M. I. (1991). Static Typing for Object-Oriented Programming. DAIMI Report Series, 20(355). https://doi.org/10.7146/dpb.v20i355.6585
Issue
Section
Articles
License
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.