Push-Down-Method

Refused Bequest

A subclass that refuses what it inherits still advertises it. Learn to spot Refused Bequest, why it breaks Liskov substitution, and how to fix the family tree: inherit a promise, not just code.

November 24, 20269 minutes