[first slide]

Introduction to Object Oriented Programming

Timothy A. Budd

Chapter 7

Inheritance

Outline

  1. Motivation for Inheritance
  2. Tension between Generality and Specialization
  3. Abstract idea of Inheritance
  4. Practical Meaning of Inheritance
  5. The Is-a and Has-a rules
  6. Idealized Image of Inheritance
  7. Subclass, Subtype and Substitutability
  8. Forms of Inheritance
    1. Heuristics for Subclassing - Specialization
    2. Heuristics for Subclassing - Specification
    3. Heuristics for Subclassing - Construction
    4. Heuristics for Subclassing - Generalization or Extension
    5. Heuristics for Subclassing - Limitation
    6. Heuristics for Subclassing - Variance
    7. Summary of Forms of Inheritance
  9. Trees versus Forests
  10. A Portion of the Little Smalltalk Hierarchy
  11. Benefits of Inheritance
  12. The Costs of Inheritance

Other Material

Intro OOP, Chapter 7, Slide 1