Skip to content

Programming Quote by Anonymous

“Writing code that requires subclasses to send super adds an additional dependency; avoid this if you can.” quote by Anonymous
Download Open image
““Writing code that requires subclasses to send super adds an additional dependency; avoid this if you can.””

Anonymous

About This Quote

Source Tech Talk: Software Architecture, 2020

Advises against designing code that forces subclasses to call super methods, as it creates tight coupling.

In simple terms: Avoid super calls in subclass design.

Key Takeaway

Minimize inheritance dependencies.

Themes

software design inheritance dependency clean code architecture

Mood

analytical technical

Type

programming advisory

When to use this quote

  • code reviews
  • API design
  • refactoring
  • team onboarding

Key Concepts

object‑oriented programming coupling maintainability

Questions to Reflect On

  • Is inheritance the best tool here?
  • What alternatives exist?
A Different Perspective

Sometimes super calls are necessary for correct behavior.

2.4 out of 5 (9 ratings)

More by Anonymous

Explore all 162,899 Anonymous quotes

More Programming quotes

Browse all 6,477 Programming quotes