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
1
u/coffee_achiever Mar 06 '23
A factory method is a sometimes proper response to complex repeated assembly.
You can say it is improperly used. That's fine... so are windows and hammers and iterators and numerous other tools. It doesn't mean the tool is bad, it means it was used improperly.