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
Topics: , , , , , , , ,
More quotes by Knuth, Donald E.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.