Skip to content

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…” quote by Joel Spolsky
Download Open image
“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.”

Joel Spolsky

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.

Key Takeaway

Write clear, maintainable code.

Themes

programming code quality maintenance software engineering productivity

Mood

practical technical

Type

advice educational

When to use this quote

  • code reviews
  • pair programming
  • documentation standards
  • continuous integration

Key Concepts

cognitive load technical debt refactoring practices

Questions to Reflect On

  • How can you improve code readability today?
  • What habits prevent code from becoming a mess?
A Different Perspective

Complex systems may still become unreadable despite best practices.

3.0 out of 5 (7 ratings)

More by Joel Spolsky

Explore all 43 Joel Spolsky quotes

More Cardinals quotes

Browse all 223 Cardinals quotes