Skip to content

Code Quote by Robert Cecil Martin

“The proper use of comments is to compensate for our failure to express ourself in code.” quote by Robert Cecil Martin
Download Open image
“The proper use of comments is to compensate for our failure to express ourself in code.”

Robert Cecil Martin

About This Quote

Source Book: Clean Code by Robert C. Martin, 2008

Comments should fill gaps where code is unclear, not replace clear expression.

In simple terms: Use comments to clarify, not compensate for bad code.

Key Takeaway

Write self‑explanatory code.

Themes

software engineering code quality communication documentation

Mood

practical instructional

Type

educational technical

When to use this quote

  • code review
  • pair programming
  • training sessions

Key Concepts

technical debt readability maintainability

Questions to Reflect On

  • How can you make code clearer without comments?
  • When are comments truly necessary?
A Different Perspective

Over‑reliance on comments can hide poor design.

4.0 out of 5 (7 ratings)

More by Robert Cecil Martin

Explore all 6 Robert Cecil Martin quotes

More Code quotes

Browse all 1,662 Code quotes