Skip to content

Comment Quote by Douglas Crockford

“Obsolete comments are worse than no comments.” quote by Douglas Crockford
Download Open image
“Obsolete comments are worse than no comments.”

Douglas Crockford

About This Quote

Source Blog: JavaScript Best Practices, Douglas Crockford, 2008

Comments that are outdated mislead more than having none, causing confusion and errors.

In simple terms: Old comments are harmful.

Key Takeaway

Keep comments current.

Themes

software documentation maintenance

Mood

pragmatic cautious

Type

technical instructional

When to use this quote

  • code reviews
  • team onboarding
  • debugging

Key Concepts

code clarity technical debt communication

Questions to Reflect On

  • How often should you prune comments?
  • What’s the cost of unclear code?
A Different Perspective

Neglecting comments can hide bugs.

3.5 out of 5 (6 ratings)

More by Douglas Crockford

Explore all 33 Douglas Crockford quotes

More Comment quotes

Browse all 1,714 Comment quotes