Premature optimization: Not necessarily the root of all evil(www.keyvan.ms)

submitted by dpetersondpeterson(4397) 8 months, 3 days ago

Keyvan Nayyeri gives us an excellent discussion piece regarding the use and abuse of Knuth's quote "Premature optimization is the root of all evil". Nayveri goes on to explain what Knuth really meant by this quote, in the context of his overall work. This is a must read for any developer!

1 comment |category: |Views: 48

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 8 months, 3 days ago 0

Not only is optimization important, I consider poor performance to be a defect. Knuth's quote is not an excuse to ignore performance. It's also important to realize that optimization does not only refer to shaving clock cycles, and that simply going for speed isn't necessarily optimization...sometimes it's just making your program faster at the cost of something else.

Reply

information Login or create an account to comment on this story