Encapsulation and inheritance in object-oriented programming languages
Alan Snyder · ACM SIGPLAN Notices · 1986
Object-oriented programming is a practical and useful programming methodology that encourages modular design and software reuse. Most object-oriented programming languages support data abstraction by preventing an object from being manipulated except via its defined external operations. In most languages, however, the introduction of inheritance severely compromises the benefits of this encapsulation. Furthermore, the use of inheritance itself is globally visible in most languages, so that changes to the inheritance hierarchy cannot be made safely. This paper examines the relationship between inheritance and encapsulation and develops requirements for full support of encapsulation with inheritance.
Cited by 436 works. doi:10.1145/960112.28702 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Common LISP. The language
- SIMULA: an ALGOL-based simulation language
- The Lisp Machine manual
- The Programming Language Aspects of ThingLab, a Constraint-Oriented Simulation Laboratory
- Object-oriented programming with flavors
- An introduction to Trellis/Owl
- Multiple inheritance in smalltalk-80
- Object-oriented programming with flavors
- A semantics of multiple inheritance