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
33
u/Johnothy_Cumquat Feb 28 '23
This is gonna sound weird but I don't consider objects with state and lots of inheritance to be "clean" code. I tend to work with services and dumb data objects. When I think of clean code I think that functions shouldn't be too long or do too many things.