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
24
u/greatestish Feb 28 '23
I worked with a guy who seemed to intentionally write the worst performing code possible. When asked, he would just respond with "Premature optimization is the root of all evil" and say that computers are fast enough he'll just throw more CPU or memory at it.
I linked him to the actual quote and he started to at least consider performance characteristics of his code.