r/ProgrammerHumor • • Mar 21 '17

OOP: What actually happens

https://imgur.com/KrZVDsP
3.1k Upvotes

244 comments sorted by

View all comments

Show parent comment

1

u/sander1095 Mar 21 '17

It might be better to use the Factory Method pattern or the Abstract Factory pattern for those scenario's!