I am new to Design pattern. I just learned that Prototype Design Pattern minimizes instance creation process. Ultimately, it calls .clone() method to create duplicate instance of the object.
So what is the difference between calling a normal clone method than going for Prototype Design Patter?
Aucun commentaire:
Enregistrer un commentaire