Root of “Premature Optimization is the root of all evil”
Der Satz „We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil“ wird oft mit Donald Knuth in Verbindung gebracht, der es in seinem Aufsatz „Structured Programming with go to Statements“ inhaltlich beschrieben hat (Knuth, 1974 S. 294). Der Aufsatz ist die Widerlegung von Knuth zu Dijkstras Aufsatz „Go To Statement Considered Harmful“ (Dijkstra, 1968 S. 147- 148). Als Urheber gilt Tony Hoare, der wiederum auf Edsger Dijkstra verweist mit dem Hinweis, dass er dieses Zitat für „common culture or folklore“ hält (Gerwitz, 2004). „Premature Optimization“ soll Entwickler hindern, bereits bei der Entwicklung klassische Code-Optimierung zu betreiben, und soll sie gleichzeitig ermutigen, gute Algorithmen zu entwickeln und diese vernünftig zu implementieren. (Hyde, 2004 S. xviii)
Knuth, Donald. 1974. Structured Programming with go to Statements. ACM Computing Surveys. 1974, Bd. 6, 4.
Dijkstra, Edsger. 1968. Go To Statement Considered Harmful. Communications of the ACM. 1968, Bd. 11, 3.
Gerwitz, Hans. 2004. hans.gerwitz. Premature optimization is the root of all evil. http://hans.gerwitz.com/2004/08/12/premature-optimization-is-the-root-of-all-evil.html.