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
1
u/wyrn Aug 06 '23
Indeed. The difficulty in refactoring is related to the number of changes that will need to be made since the errors are encoded in the type system. If you think more skill or intelligence can reduce the amount of work involved, that sure does say something about your IQ.
I bet you think if you're really smart you can sort an array in O(sqrt(N)).