Hacker News new | ask | show | jobs
by hliyan 843 days ago
Addendum: never forget Amdahl's Law. And never forget Knuth's full quote:

“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%.” - Donald E. Knuth, Structured Programming With Go To Statements

4 comments

The problem is, instead of internalizing the whole quote, which is valid in my opinion, many have only internalized the "root of all evil" part. This roughly translates to "my feature is done - performance is someone else's problem".
Nowadays, the other 97 is slow too.
This quote has done more damage to software usability than any other idea of the last 60 years. It has lead us to a state where software is unbearably slow because nothing was worth optimizing. Just like it's easy to go broke with thousands of minor expenses, it's easy to create sluggish software that has no obvious bottleneck because the whole damn thing is slow.
This ideology is exactly why we have bloated abominations like Slack electron apps.