Hacker News new | ask | show | jobs
by burnt-resistor 571 days ago
To do it prematurely is the biggest sin, to give no thought is the second, and to not be able to do profile code is fatal.
1 comments

Probably being pedantic, but I disagree on the order. What I understand is that "giving it no thoughts" is less bad than "doing it prematurely".

The worse is to not give it a thought IMO (usually people justify that by saying "premature optimization is the root of all evil", where actually they just couldn't be bothered to think). Writing bad code and justifying it by "I'm optimizing" is also pretty bad.

Developers should have common sense, not dogma.