Risks Of Premature Optimization

Donald Knuth, one of the founding fathers of computer science, shares a riveting thought on premature optimization, and its risks.

“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”.

Make everything fast < make the most crucial elements fast.

Programmer or not, this lens is a powerful one to apply.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s