News for hackers. Stuff that matters.
Re:Performance Matters by api on Monday August 19, 2019 @03:24PM (#20740924)
"Premature optimization is the root of all evil" is one of those programming sayings that's very often misunderstood.

It does not mean that performance doesn't matter or that you shouldn't think about performance.

What it means is two things:

(1) It's usually a waste of time to tinker with small optimizations until you've made things work and until you've profiled.

(2) Don't compromise your design or write unmaintainable code out of premature concern over performance.

The second is the more important and subtile meaning. It means don't let concern for performance hobble your thinking about a problem.

There are no comments on this comment yet.