Interfaces for strongly-typed object-oriented programming
Peter S. Canning, William R. Cook, Walter L. Hill et al. · Conference on Object-Oriented Programming Systems, Languages, and Applications · 1989
This paper develops a system of explicit interfaces for object-oriented programming. The system provides the benefits of module interfaces found in languages like Ada and Modula-2 while preserving the expressiveness that gives untyped object-oriented languages like Smalltalk their flexibility. Interfaces are interpreted as polymorphic types to make the system sufficiently powerful. We use interfaces to analyze the properties of inheritance, and identify three distinct kinds of inheritance in object-oriented programming, corresponding to objects, classes, and interfaces, respectively. Object interfaces clarify the distinction between interface containment and inheritance and give insight into limitations caused by equating the notions of type and class in many typed object-oriented programming languages. Interfaces also have practical consequences for design, specification, and maintenance of object-oriented systems.
Cited by 126 works. doi:10.1145/74877.74924 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Object-Oriented Software Construction
- On understanding types, data abstraction, and polymorphism
- The C programming language
- Towards a theory of type structure
- An introduction to Trellis/Owl
- Fundamentals of Algebraic Specification 2
- Distrbution and Abstract Types in Emerald
- A semantics of multiple inheritance
- Using prototypical objects to implement shared behavior in object-oriented systems