4 ms·
Hm - I have read many times that the "premature optimization is the root of all evil" quote was misattributed to Donald Knuth and actually came from C.A.R. Hoar
by clifanatic 10y ago
Hm - I have read many times that the "premature optimization is the root of all evil" quote was misattributed to Donald Knuth and actually came from C.A.R. Hoare, but here it is in print, and he seems to present it as his own thought. I'm going to go back to attributing this to Knuth. (and pointing out that almost everybody who repeats it is misunderstanding it)
- Someone 10y agoThat’s because Knuth at some time thought he had it from Hoare. See https://shreevatsa.wordpress.com/2008/05/16/premature-optimization-is-the-root-of-all-evil/ https://shreevatsa.wordpress.com/2008/05/16/premature-optimi... I guess we’ll never know whether he was right, but all we know is that he used it at least twice in print, while we don’t know any time Hoare used it.