News for hackers. Stuff that matters.
Re:Rob Pike's 5 Rules of Programming by DaleBiagio on Wednesday March 18, 2026 @07:42AM (#47424436)
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.

Re:Rob Pike's 5 Rules of Programming by zabzonk on Wednesday March 18, 2026 @08:29AM (#47424899)
I've always thought it was Dijkstra - it even sounds Dijkstra-ish.
Re:Rob Pike's 5 Rules of Programming by YesThatTom2 on Wednesday March 18, 2026 @09:08AM (#47425348)
If Dijkstra blamed Knuth it would have been the best recursive joke ever.