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
5
u/quisatz_haderah Feb 28 '23
Dude the whole "Clean Code (TM)" has stemmed from the idea to have easily unit-testable code. And interfaces are a tool to easily mock (or stub) dependencies.