Cardinals Quote by Joel Spolsky
“There's a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess. [...] The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming: It's harder to read code than to write it.”
About This Quote
Source Blog: Joel on Software, 2000
Code is easier to write than to read; programmers discard old code because it feels messy.
In simple terms: Writing code is easy; reading it is hard.
Write clear, maintainable code.
Themes
Mood
Type
When to use this quote
- code reviews
- pair programming
- documentation standards
- continuous integration
Key Concepts
Questions to Reflect On
- How can you improve code readability today?
- What habits prevent code from becoming a mess?
Complex systems may still become unreadable despite best practices.