3 ms·
He made the comment a few times, apparently, in the context of GOTO it was this: > Programmers waste enormous amounts of time thinking about, or worrying about
by Jtsummers 5y ago
He made the comment a few times, apparently, in the context of GOTO it was this:
> 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. Yet we should not pass up our opportunities in that critical 3%.
From: "Structured Programming with Goto Statements", emphasis mine.
Archive link: https://web.archive.org/web/20131023061601/http://cs.sjsu.edu/~mak/CS185C/KnuthStructuredProgrammingGoTo.pdf https://web.archive.org/web/20131023061601/http://cs.sjsu.ed... (I haven't read it in a while, and it's 41 pages, so I probably won't get to it today.)