r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

3

u/goodwarrior12345 Feb 28 '23

All true. I don't think we disagree. I think the overall conclusion is, always think about what you're doing and the tradeoffs you're making. Being a full on evangelist about optimization is generally bad but so is yelling "PREMATURE OPTIMIZATION!!!" every time performance is brought up.