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.
- 1 B. Stroustrup, The C++ Programming Language, Addison-Wesley, 1987. Google ScholarDigital Library
- 2 B. Kernighan, D. Richie, The C Programming Language, Prentice-Hall, Englewood Cliffs, New Jersey, 1978. Google ScholarDigital Library
- 3 Ada Programming Language, Department of Defense, Washington, DC, ANSI/MIL-STD 1815A-1983.Google Scholar
- 4 W.P. Stevens, G. J. Myers, & L. L.Constantine, Structured Design, IBM Systems Journal, Vol 13, No 2 (May 1974), 115-139.Google ScholarDigital Library
- 5 S. Meyers, Effective C+ +: 50 Specific Ways to Improve Your Designs, Addison Wesley, 1992 Google ScholarDigital Library
Index Terms
- Creating well formed class inheritance schemes in C++
Recommendations
Creating well formed class inheritance schemes in C++
OOPSLA '92: Addendum to the proceedings on Object-oriented programming systems, languages, and applications (Addendum)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 ...
Comments