vendredi 19 février 2021

Where should I use Factory Method?

I can't see any viable area to implement Factory Method. At its core, the design pattern offers nothing that I can't do without object initialization with new keyword. Is there any real world library that uses this pattern in a right manner?

Aucun commentaire:

Enregistrer un commentaire