Code Quote by Robert C. Martin
““Few practices are as odious as commenting-out code. Don’t do this!””
About This Quote
Source Book: Clean Code by Robert C. Martin, 2008
Commenting out code is a harmful habit that obscures intent and creates technical debt.
In simple terms: Avoid commenting out code; it’s bad practice.
Write clean, maintainable code.
Themes
Mood
Type
When to use this quote
- legacy code
- code reviews
Key Concepts
Questions to Reflect On
- Why do developers comment out code?
- What alternatives exist?
Commenting out may be a quick fix but leads to long‑term problems.