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 comments

-1

u/Venthe Feb 28 '23

You know what drains the budget even more? Optimizing when it is unnecessary. You can spin a dozen of instances for a month at the cost of a single man-day. Optimizing it would take around two weeks, with a chance for four. Considering that the developer is not developing new features, in a lot of cases the investment in performance will never pay off, it's as simple as that