Comment Quote by Douglas Crockford
“Obsolete comments are worse than no comments.”
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.
Keep comments current.
Themes
Mood
Type
When to use this quote
- code reviews
- team onboarding
- debugging
Key Concepts
Questions to Reflect On
- How often should you prune comments?
- What’s the cost of unclear code?
Neglecting comments can hide bugs.