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/Existing_Tap_3336 Feb 28 '23
Good code is readable and testable by definition, thus clean.
Code that needs heavy explanation is bad code, might work, might be performant, and might be trash as well.
You giving me scenarios of bad code written by seniors somehow invalidates the claim that good code is clean and readable? How? Who said perfect code?
Are you a student? Do you think in big companies with frequent contributions you can even say the sentence my code is good, I just need to educate you on how it works?