Back to Tags
Inheritance
3 items tagged with "inheritance"
Filter by type:
Anti-Patterns3
Anti-Pattern
Refused Bequest
A subclass that inherits methods or data it does not want or use, often overriding them to do nothing, signaling a wrong inheritance relationship.
Anti-Pattern
Yo-Yo Problem
An inheritance hierarchy so deep that understanding behavior forces constant scrolling up and down between many classes to trace a single call.
Anti-Pattern
Call Super
A framework requiring subclass overrides to call the parent method, a fragile contract that breaks silently whenever a developer forgets the call.