skip to main content
10.1145/28697.28702acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article
Free Access

Encapsulation and inheritance in object-oriented programming languages

Published:01 June 1986Publication History

ABSTRACT

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.

References

  1. Bobrow86.Danny Bobrow, et al. Common Loops: Merging Common Lisp and Object-Oriented Programming. Proc. ACM Conference on Object-Oriented Systems, Languages, and Applications. Portland, Oregon, Sept. 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Borning81.Alan Borning. The Programming Language Aspects of ThingLab, a Constraint-Oriented Simulation Laboratory. ACM Transactions on Programming Languages and Systems 3:4 (Oct. 1981), 353-387. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Borning82.Alan Borning and Daniel Ingalls. Multiple Ingeritance in Smalltalk-80. Proc. AAAI 1982, j234-237.Google ScholarGoogle Scholar
  4. Brachman85.Ronald J. Brachman. "I Lied about the Trees" - Or, Defaults and Definitions in Knowledge Representation. AI Magazine 6:3 (Fall 1985), 80-93.Google ScholarGoogle Scholar
  5. Canning85.Peter Canning. Personal communication.Google ScholarGoogle Scholar
  6. Cardelli84.Luca Cardelli. The Semantics of Multiple Inheritance. Proceedings of the Conference on the Semantics of Datatypes. Springer-Verlag Lecture Notes in Computer Science, June 1984, 51-66. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Cox84.Brad Cox. Message/Object Programming: An Evolutionary Change in Programming Technology. IEEE Software 1:1 (Jan. 1984), 50-61.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Dah166.O.-J. Dahl and K. Nygaard. Simula - An Algol-Based Simulation Language. Comm. ACM 9:9 (Sept. 1966), 671-678. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Goldberg83.Adele Goldberg and David Robson. Smalltalk-80: The Language and its Implementation. Addison-Wesley, Reading, Massachusetts, 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Moon86.David A. Moon. Object-Oriented Programming with Flavors. Proc. ACM Conference on Object-Oriented Systems, Languages, and Applications. Portland, Oregon, Sept. 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Schaffert86.Craig Schaffert, et. al. An Introduction to trellis/Owl. Proc. ACM Conference on Object-Oriented Systems, Languages, and Applications. Portland, Oregon, Sept. 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Snyder85a.Alan Snyder. Object-Oriented Programming for Common Lisp. Report ATC-85-1, Software Technology Laboratory, Hewlett-Packard Laboratories, Palo Alto, California, 1985.Google ScholarGoogle Scholar
  13. Snyder85b.Alan Snyder, Michael Creech, and James Kempf. A Common Lisp Objects Implementation Kernel. Report STL-85-08, Software Technology Laboratory, Hewlett-Packard Laboratories, Palo Alto, California, 1985.Google ScholarGoogle Scholar
  14. Steele84.Guy L. Steele, Jr. Common Lisp - The Language. Digital Press, 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Stroustrup86.Bjarne Stroustrup. The C++ Programming Language. Addison-Wesley, Reading, Massachusetts, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Weinreb81.Daniel Weinreb and David Moon. Lisp Machine Manual. Symbolics, Inc., 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Encapsulation and inheritance in object-oriented programming languages

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            OOPSLA '86: Conference proceedings on Object-oriented programming systems, languages and applications
            June 1986
            508 pages
            ISBN:0897912047
            DOI:10.1145/28697
            • cover image ACM SIGPLAN Notices
              ACM SIGPLAN Notices  Volume 21, Issue 11
              Proceedings of the 1986 conference on Object-oriented programming systems, languages, and applications
              Nov. 1986
              495 pages
              ISSN:0362-1340
              EISSN:1558-1160
              DOI:10.1145/960112
              Issue’s Table of Contents

            Copyright © 1986 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 June 1986

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • Article

            Acceptance Rates

            Overall Acceptance Rate268of1,244submissions,22%

            Upcoming Conference

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader