âPremature optimization is the root of all evil.â is a popular quote with mysterious origins. It is widely attributed to Donald Knuth, who apparently used it in Structured Program with goto Statements but later credits Tony Hoare.
Hoare, however, did not claim it when I queried him in January of 2004:
Dear Hans,
Iâm sorry I have no recollection how this quotation came about.? I might have attributed it to Edsger Dijkstra.
I think it would be fair for you assume it is common culture or folklore.
Tony.
Bruce Eckel also credits Dijkstra. Now that would be ironic, since the widely-attributed first use by Knuth was written as a rebuttal to Dijkstraâs Go To Statement Considered Harmful.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4