If you're as clever as you can be when you write it, how will you ever debug it?
Brian KernighanRead
Topic
4 quotes
If you're as clever as you can be when you write it, how will you ever debug it?
Rushing to optimize before the bottlenecks are known may be the only error to have ruined more designs than feature creep. From tortured code to incomprehensible data layouts, the results of obsessing about speed or memory or disk usage at the expense of transparency and simplicity are everywhere. They spawn innumerable bugs and cost millions of man-hours - often, just to get marginal gains in the use of some resource much less expensive than debugging time
There has never been an unexpectedly short debugging period in the history of computers.
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%
Subscribe for the occasional hand-picked quote. No noise.