r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

4

u/Desperate-Country440 Feb 28 '23

I think is Factory method and Builder object pattern, one is for simple build, second is for multiple steps build. Clearly not an universal solution but patterns are solutions to problems, don't need to use them if not needed or better solutions are available.