dimanche 24 juillet 2016

Why & when should i use Abstract Factory Pattern?

I know how AbstractFactoryPattern works, but it is not clear to me why, when should i use abstractFactoryPattern ? I don't want any vague explanation about using the pattern, instead an answer with an example would be great, where if normal object creation using new Object() would be used, would have significant disadvantage over the AbstractFactoryPattern.

Aucun commentaire:

Enregistrer un commentaire