Skip to content

Books Quote by Kirk Knoernschild

“Those readers new to object orientation typically assume a close relation exists between inheritance and reuse. We want to debunk this myth immediately. Though reuse is touted as a benefit of object orientation, it is in fact a goal. Reuse cannot be taken for granted, nor is it guaranteed. In…” quote by Kirk Knoernschild
Download Open image
““Those readers new to object orientation typically assume a close relation exists between inheritance and reuse. We want to debunk this myth immediately. Though reuse is touted as a benefit of object orientation, it is in fact a goal. Reuse cannot be taken for granted, nor is it guaranteed. In reality, achieving reuse requires a lot of effort and discipline, and we'll spend a lot of time in this book talking about this aspect of object orientation.””

Kirk Knoernschild

About This Quote

Source Book: Object-Oriented Design Principles, 2019

Inheritance is often mistaken for automatic reuse, but reuse must be deliberately engineered and is not guaranteed.

In simple terms: Reuse isn’t automatic with inheritance.

Key Takeaway

Plan reuse explicitly.

Themes

software design inheritance reuse

Mood

cautious critical

Type

warning educational

When to use this quote

  • building libraries
  • refactoring
  • code reviews

Key Concepts

design patterns software architecture

Questions to Reflect On

  • What safeguards ensure reuse?
  • When should inheritance be avoided?
A Different Perspective

Reuse can be costly and complex.

4.3 out of 5 (7 ratings)

More Books quotes

Browse all 59,485 Books quotes