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

Delegation is inheritance

Published:01 December 1987Publication History

ABSTRACT

Inheritance and delegation are alternate methods for incremental definition and sharing. It has commonly been believed that delegation provides a more powerful model. This paper demonstrates that there is a “natural” model of inheritance which captures all of the properties of delegation. Independently, certain constraints on the ability of delegation to capture inheritance are demonstrated. Finally, a new framework which fully captures both delegation and inheritance is outlined, and some of the ramifications of this hybrid model are explored.

References

  1. Borning.Borning, A. H., "Classes Versus Prototypes in Object-Oriented Languages." .,4 CM/IEEE Fall Joint Computer Conference, November 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Briot & Yonezawa.Briot, J., and A. Yonezawa. "Inheritance Mechanisms in Object-Oriented Concurrent Languages." Extended abstract. 1987.Google ScholarGoogle Scholar
  3. Cardelli & Wegner.Cardelli, L., and P. Wegner. "On Understanding Types, Data Abstraction, and Polymorphism." Computing Surveys, August 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Goldberg & Robson.Goldberg, A., and D. Robson. Smalltalk-80: The Language and it8 Implementation. Addison-Wesley, 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. LaLonde.LaLonde, W. "An Exemplar Based Smalltalk." Proceedings of the First A CM Conference on Object-Oriented Programming Sy,~tems, Languages, and Applications, September 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Lieberman.Lieberman, H. "Using Prototypical Objects to mplem'ent Shared Behavior in Object Oriented Systems." Proceeding8 o/ the First A CM Conference on Object-Oriented Programming Systems, Languages, and Applications, September 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Stefik & Bobrow.Stefik, M, and D. Bobrow. "Object-Oriented Programming,: Themes and Variations." AI Magazine, December 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Touretsky.Touretsky, D. The Mathematical Theory of Inheritance. Morgan-Kaufman, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Wegner & Zdonik.Wegner, P., and S. Zdonik. "Why Like isn't Like Isa." Brown University Technical Report, March 1987.Google ScholarGoogle Scholar

Index Terms

  1. Delegation is inheritance

            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 '87: Conference proceedings on Object-oriented programming systems, languages and applications
              December 1987
              493 pages
              ISBN:0897912470
              DOI:10.1145/38765

              Copyright © 1987 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 December 1987

              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