There is no doubt that the “grail” of efficiency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.

Donald E. Knuth (b. 1938) American computer scientist, mathematician, academic
“Structured Programming with go to Statements,” ACM Journal Computing Surveys (Dec 1974)

 
Added on 1-Feb-04 | Last updated 13-Oct-20
Link to this post | No comments
Topics: , , , , , , , ,
More quotes by Knuth, Donald E.

Leave a Comment

Your email address will not be published. Required fields are marked *