Static Typing for Object-Oriented Programming

Jens Palsberg, Michael I. Schwartzbach · DAIMI Report Series · 1991

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.

Read the paper · More papers on PaperTik