Skip to content

All kinds Quote by Bjarne Stroustrup

“Always think about how a piece of code should be used: good interfaces are the essence of good code. You can hide all kinds of clever and dirty code behind a good interface if you really need such code.” quote by Bjarne Stroustrup
Download Open image
“Always think about how a piece of code should be used: good interfaces are the essence of good code. You can hide all kinds of clever and dirty code behind a good interface if you really need such code.”

Bjarne Stroustrup

About This Quote

Good interfaces encapsulate complexity, allowing users to benefit from functionality without exposing underlying intricacies or technical debt.

In simple terms: Interfaces hide implementation details.

Key Takeaway

Design interfaces first.

Themes

software design abstraction maintainability encapsulation usability

Mood

pragmatic analytical

Type

advice principle

When to use this quote

  • API development
  • library creation
  • framework design
  • team code reviews

Key Concepts

interface design code hygiene modularity

Practical Applications

  • API documentation
  • component reuse

Questions to Reflect On

  • How does a well‑designed interface affect future changes?
  • What trade‑offs exist between hiding complexity and providing flexibility?
2.0 out of 5 (3 ratings)

More by Bjarne Stroustrup

Explore all 58 Bjarne Stroustrup quotes

More All kinds quotes

Browse all 1,489 All kinds quotes