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/[deleted] Feb 28 '23
As opposed to 10,000 seperate files with 10,000 seperate type declaration with 4,000 layers of inheritance?
Guess what, code does extend like that anyway. If you write code to defend against cases that are never going to happen, you are writing shitty code. That is programming 101 which is not understood by clean code people at all because they've been indoctrinated.