Simple type-theoretic foundations for object-oriented programming
Benjamin C. Pierce, David N. Turner · Journal of Functional Programming · 1994
Abstract We develop a formal, type-theoretic account of the basic mechanisms of object-oriented programming: encapsulation, message passing, subtyping and inheritance. By modelling object encapsulation in terms of existential types instead of the recursive records used in other recent studies, we obtain a substantial simplification both in the model of objects and in the underlying typed λ-calculus.
Cited by 170 works. doi:10.1017/s0956796800001040 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- On understanding types, data abstraction, and polymorphism
- A semantics of multiple inheritance
- Lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem
- Common Lisp Object System specification
- Types, Abstraction and Parametric Polymorphism.
- Encapsulation and inheritance in object-oriented programming languages
- Abstract types have existential type
- F-bounded polymorphism for object-oriented programming
- Three approaches to type structure