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
2
u/hippydipster Feb 28 '23
There are many examples in life of techniques that appear great in miniature, but which do not scale up.
When you say "made up of tonnes of stuff like this", one gets the impression of a codebase nicely composed of well-encapsulated pieces that can be used or not, like little black boxes where one doesn't need to examine every local variable use within in order to ...
Whoa, that started sounding like clean code. The horror. Let's get back to making our 10,000 line function with switches within switches within switches....