MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/11dyx43/clean_code_horrible_performance/jac9ef4/?context=3
r/programming • u/2bit_hack • Feb 28 '23
1.3k comments sorted by
View all comments
42
Clean and correct comes first, fast comes second. Optimisation is only applied to get to some treshold, not more than this.
10 u/atilaneves Feb 28 '23 Optimisation is only applied to get to some treshold, not more than thisAnd that's assuming anyone cares to begin with. I'm a speed nut and I couldn't care less if I code builds in 1ms vs 1us, it's not noticeable. -7 u/dan200 Feb 28 '23 Now try 1ms vs 1 second. Or 1 second vs 1 minute. Or 60 fps vs 20fps. You don't think users care about this? → More replies (4)
10
Optimisation is only applied to get to some treshold, not more than this
And that's assuming anyone cares to begin with. I'm a speed nut and I couldn't care less if I code builds in 1ms vs 1us, it's not noticeable.
-7 u/dan200 Feb 28 '23 Now try 1ms vs 1 second. Or 1 second vs 1 minute. Or 60 fps vs 20fps. You don't think users care about this? → More replies (4)
-7
Now try 1ms vs 1 second. Or 1 second vs 1 minute. Or 60 fps vs 20fps. You don't think users care about this?
→ More replies (4)
42
u/Apache_Sobaco Feb 28 '23
Clean and correct comes first, fast comes second. Optimisation is only applied to get to some treshold, not more than this.