logoalt Hacker News

DaleBiagiotoday at 11:42 AM2 repliesview on HN

The attribution to Hoare is a common error — "Premature optimization is the root of all evil" first appeared in Knuth's 1974 paper "Structured Programming with go to Statements."

Knuth later attributed it to Hoare, but Hoare said he had no recollection of it and suggested it might have been Dijkstra.

Rule 5 aged the best. "Data dominates" is the lesson every senior engineer eventually learns the hard way.


Replies

YesThatTom2today at 1:08 PM

If Dijkstra blamed Knuth it would have been the best recursive joke ever.

zabzonktoday at 12:29 PM

I've always thought it was Dijkstra - it even sounds Dijkstra-ish.