Code Quote by Robert Cecil Martin
“The proper use of comments is to compensate for our failure to express ourself in code.”
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.
Write self‑explanatory code.
Themes
Mood
Type
When to use this quote
- code review
- pair programming
- training sessions
Key Concepts
Questions to Reflect On
- How can you make code clearer without comments?
- When are comments truly necessary?
Over‑reliance on comments can hide poor design.