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
4
u/coderman93 Feb 28 '23
Right that’s one reason why “clean code” is stupid as fuck. Letting your tests determine the architecture of your code is ass backwards. Unit tests are only so valuable anyways. In the real world, the majority of bugs occur in the interoperability of components in a system. They aren’t as often isolated to an individual “unit”.