5 ms·
From SICP: > Programs must be written for people to read, and only incidentally for machines to execute. When programmers care about lack of efficiency before
by DanWaterworth 14y ago
From SICP:
> Programs must be written for people to read, and only incidentally for machines to execute.
When programmers care about lack of efficiency before it's a problem, they're doing it wrong.
- meaty 14y agountil you get to the end game and you realise you have a lemon on your hands which is going to require a rewrite because it's so slow when you throw 10,000 users at it... "Be mindful" is probably better advice. Tradeoffs are easier to make earlier on and everything is a compromise after all.
- DanWaterworth 14y agoWhat I said was: > When programmers care about lack of efficiency before it's a problem, they're doing it wrong. That doesn't mean that you shouldn't identify problems as quickly as possible, just don't try to improve performance when you haven't got a problem in front of you.
- Gormo 14y agoOr, as Donald Knuth put it, "premature optimization is the root of all evil."