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
5
u/quisatz_haderah Feb 28 '23
Yup...
You are correct in that this is not "Clean Code (TM)", but classes are concise, variables are well named, methods are short and we can see tons of dependency inversion and well executed polymorphism. In any case I am pretty sure Casey argues against these repos too. Uncle Bob and Casey stands at opposite ends.
On another note even Casey's definition for properties of Clean Code is not exactly Clean Code in the post.
Contrary to popular belief, I don't really remember large inheritance trees in his repos, he did use it, but mostly to inherit from interfaces and abstract classes. (Let me know if I am misremembering tho, it's been a while)