Skip to content

Few practices are as odious as commenting-out code. Don’t…

“Few practices are as odious as commenting-out code. Don’t do this!” quote by Robert C. Martin
Download Open image
““Few practices are as odious as commenting-out code. Don’t do this!””

Robert C. Martin

About This Quote

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

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.

Key Takeaway

Write clean, maintainable code.

Themes

software development best practices technical debt

Mood

critical educational

Type

technical philosophical

When to use this quote

  • legacy code
  • code reviews

Key Concepts

code hygiene refactoring team collaboration

Questions to Reflect On

  • Why do developers comment out code?
  • What alternatives exist?
A Different Perspective

Commenting out may be a quick fix but leads to long‑term problems.

★ ★ ★ ★ ★ No ratings yet

More by Robert C. Martin

Explore all 34 Robert C. Martin quotes

More Code quotes

Browse all 1,662 Code quotes