What exactly can we describe Factory Method of design pattern?
I am confused with the concept ? Is it just as simple as incorporating a static method to return the object instead of a constructor ? So that client doesn't need to change the code while we update the library or there is something more to it ?
Aucun commentaire:
Enregistrer un commentaire