literary programming and C++

24 views
Skip to first unread message

Glenn Vanderburg

unread,
Mar 17, 1994, 10:32:31 AM3/17/94
to
In article <CMM-RU.1.4.7...@pilot.njin.net>,
Lee Wittenberg <le...@pilot.njin.net> wrote:
>``Premature optimization is the root of all evil.''
> -- Knuth

Just FYI ... after giving Knuth credit for this for years, I recently
saw a place where Knuth attributes it to C.A.R. Hoare. From ``The
Errors of TeX,'' on page 276 of _Literate_Programming_:

"But I also knew, and forgot, Hoare's dictum that premature
optimization is the root of all evil in programming."

Does anybody know where this statement first appeared?

---Glenn
(crossposted to alt.quotations)

Reply all
Reply to author
Forward
0 new messages