[first slide]
Introduction to Object Oriented Programming
Chapter 7
Inheritance
Outline
- Motivation for Inheritance
- Tension between Generality and Specialization
- Abstract idea of Inheritance
- Practical Meaning of Inheritance
- The Is-a and Has-a rules
- Idealized Image of Inheritance
- Subclass, Subtype and Substitutability
- Forms of Inheritance
- Heuristics for Subclassing - Specialization
- Heuristics for Subclassing - Specification
- Heuristics for Subclassing - Construction
- Heuristics for Subclassing - Generalization or Extension
- Heuristics for Subclassing - Limitation
- Heuristics for Subclassing - Variance
- Summary of Forms of Inheritance
- Trees versus Forests
- A Portion of the Little Smalltalk Hierarchy
- Benefits of Inheritance
- The Costs of Inheritance
Other Material
Intro OOP, Chapter 7, Slide 1