Skip to content

Code Quote by Joshua Bloch

“What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method names, and so forth, to make my code readable. If you read some expression using these identifiers and it reads like an English sentence, your program is much more likely to be correct, and…” quote by Joshua Bloch
Download Open image
“What I do instead is I will cheerfully spend literally hours on identifier names: variable names, method names, and so forth, to make my code readable. If you read some expression using these identifiers and it reads like an English sentence, your program is much more likely to be correct, and much easier to maintain.”

Joshua Bloch

About This Quote

Source Book: Effective Java, Joshua Bloch, 2001

Spending time on clear, descriptive identifiers makes code read like natural language, improving correctness and maintainability.

In simple terms: Clear names help code work better.

Key Takeaway

Write expressive identifiers.

Themes

code readability software quality maintainability

Mood

practical thoughtful

Type

advice technical

When to use this quote

  • team code reviews
  • legacy system updates
  • onboarding new developers

Key Concepts

naming conventions semantic clarity

Questions to Reflect On

  • How do you balance naming effort with deadline pressure?
  • When does a name become too verbose?
A Different Perspective

Overemphasis on naming can delay delivery if not balanced with other priorities.

3.4 out of 5 (4 ratings)

More by Joshua Bloch

Explore all 9 Joshua Bloch quotes

More Code quotes

Browse all 1,561 Code quotes