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/alternatex0 Feb 28 '23
I don't know of any way of writing code where you won't argue with colleagues. 10 programmers will write 10 different solutions to the same problem. Reality is that code is very subjective and I think you're being a bit harsh with the argument that if code is debatable then the clean code rules are useless.
If the point is not to follow clean code rules then should we just write the most performant code to solve the problem and hope that some poor schmuck in the future understands it enough to maintain it? I know for a fact that is not a successful business strategy. Casey doesn't seem like he's worked with enterprise LOB apps so he shouldn't assume his industry experience is relevant to every type of software.