Main | Why macros rule... »

09/02/2012

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Coder39

Finish this sentence for me please :
Premature optimisation is ... (D. Knuth)

Stephen Nichols

...worse than premature ejaculation?

Honestly, who wants to spend time optimizing prematurely? It's the wise coder that understands that optimization is something to do early and often. Noobs wait until the very end. :)

MikeNicolella

Noobs also underquote Knuth and claim that he thinks optimization is best left till later:

"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 %. A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified. It is often a mistake to make a priori judgments about what parts of a program are really critical, since the universal experience of programmers who have been using measurement tools has been that their intuitive guesses fail."

Victor

It's interesting how you put traditional advise upside down.

The comments to this entry are closed.