Skip to content

Sometimes abstraction and encapsulation are at odds with…

“Sometimes abstraction and encapsulation are at odds with performance — although not nearly as often as many developers believe — but it is always a good practice first to make your code right, and then make it fast.” quote by Brian Goetz
Download Open image
““Sometimes abstraction and encapsulation are at odds with performance — although not nearly as often as many developers believe — but it is always a good practice first to make your code right, and then make it fast.””

Brian Goetz

About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Prioritizes correctness in code before optimization, noting that abstraction and encapsulation rarely hinder performance as much as developers think.

In simple terms: Make code correct first, then optimize.

Key Takeaway

Write correct code before speeding it up.

Themes

software development performance abstraction encapsulation

Mood

analytical pragmatic

Type

technical instructional

When to use this quote

  • System design
  • code review
  • performance tuning
  • refactoring

Key Concepts

Software engineering principles performance optimization code correctness

Questions to Reflect On

  • When should you prioritize performance over correctness?
  • How do you balance abstraction with efficiency?
A Different Perspective

Overemphasis on correctness may delay needed performance improvements in time‑critical systems.

★ ★ ★ ★ ★ No ratings yet

More by Brian Goetz

Explore all 13 Brian Goetz quotes

More Abstraction quotes

Browse all 562 Abstraction quotes