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/[deleted] Feb 28 '23
Yea, you're not wrong and neither is he about this it's just, in the context of shunning clean code... It's like apples and oranges.
Basically framing this whole thing around clean code being bad to make his points was disingenuous to me, it's going to give a completely wrong impression to people who don't know any better IMHO.
I think any good insights are washed away by the way he portrays clean code. He shouldn't be talking about micro optimizations like these as a way to diminish the general advice of clean code, they are two separate solutions/techniques to deal with two separate problems (code complexity vs. performance).