3 ms·
"Anti-optimization" advocates doesn't say "optimized code is bad." It means "other things are more important than optimization." One of those things is the amo
by fwip 6y ago
"Anti-optimization" advocates doesn't say "optimized code is bad." It means "other things are more important than optimization."
One of those things is the amount of work required. For example, if it takes 30 minutes to get a "good-enough" solution, and 2 days to get a "very optimized" solution, most of the time you should go with the good-enough solution, because most of the code you're writing isn't performance-critical.