Reputation: 630
I am looking for an overview to immediately figure out when to use which of the following creational patterns:
And also when it is better to stick to a plain class.
Can you provide a good resource, or maybe explain it in a few sentences e.g. "if an object is depending on nothing, use a normal class, if multiple similar constructions are needed, then usually factory is preferred."
Upvotes: 0
Views: 291