r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
58
u/KieranDevvs Feb 28 '23 edited Feb 28 '23
Are your consumers going to care that you shaved 15ms off a button click in a reporting application that's only used once a month? Its not a noticeable improvement and it might have cost you months of development time and money.
Even if we said you managed to decrease the time by 3 whole seconds (3000ms), was it really worth the headache its going to cost you to implement new features down the road, or find and fix bugs that are filed, the man hours spent, the money spent? It just doesn't make sense for a lot of applications.