skip to main content
article
Free Access

Creating well formed class inheritance schemes in C++

Published:01 December 1992Publication History
Skip Abstract Section

Abstract

How do we know when we have a well formed inheritance scheme? What are the criteria that we can use to judge? These are important questions that we must consider. For most people, inheritance is a rather new design discipline, and its implementation in C++ allows ample opportunity to create both good and bad examples of its use. In this paper we explore how the design criteria for inheritance is both similar to, and different from, conventional design considerations. We also discuss a set of anomalies that should be removed from proposed C++ inheritance schemes [1], which can be used to judge whether inheritance constructs are well formed or not.

References

  1. 1 B. Stroustrup, The C++ Programming Language, Addison-Wesley, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 B. Kernighan, D. Richie, The C Programming Language, Prentice-Hall, Englewood Cliffs, New Jersey, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Ada Programming Language, Department of Defense, Washington, DC, ANSI/MIL-STD 1815A-1983.Google ScholarGoogle Scholar
  4. 4 W.P. Stevens, G. J. Myers, & L. L.Constantine, Structured Design, IBM Systems Journal, Vol 13, No 2 (May 1974), 115-139.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 S. Meyers, Effective C+ +: 50 Specific Ways to Improve Your Designs, Addison Wesley, 1992 Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Creating well formed class inheritance schemes in C++

            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

            Full Access

            • Published in

              cover image ACM SIGPLAN OOPS Messenger
              ACM SIGPLAN OOPS Messenger  Volume 4, Issue 2
              April 1993
              284 pages
              ISSN:1055-6400
              DOI:10.1145/157710
              Issue’s Table of Contents
              • cover image ACM Conferences
                OOPSLA '92: Addendum to the proceedings on Object-oriented programming systems, languages, and applications (Addendum)
                December 1992
                320 pages
                ISBN:0897916107
                DOI:10.1145/157709

              Copyright © 1992 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 1992

              Check for updates

              Qualifiers

              • article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader