Skip to content

Code Quote by Edsger Dijkstra

“If we wish to count lines of code, we should not regard them as 'lines produced' but as 'lines spent.'” quote by Edsger Dijkstra
Download Open image
“If we wish to count lines of code, we should not regard them as 'lines produced' but as 'lines spent.'”

Edsger Dijkstra

About This Quote

Source Essay: 1972, "The Humble Programmer", ACM SIGPLAN Notices

Code should be measured by effort spent, not just lines produced, emphasizing quality over quantity.

In simple terms: Measure effort, not lines.

Key Takeaway

Focus on effortful, quality code.

Themes

productivity quality software engineering

Mood

analytical thoughtful

Type

technical philosophical

When to use this quote

  • project planning
  • code reviews
  • software estimation
  • team management

Key Concepts

algorithmic thinking efficiency

Questions to Reflect On

  • How to assess coding effort fairly?
  • What metrics capture quality beyond line count?
A Different Perspective

Hard to quantify effort precisely.

3.2 out of 5 (3 ratings)

More by Edsger Dijkstra

Explore all 103 Edsger Dijkstra quotes

More Code quotes

Browse all 1,662 Code quotes