dimanche 25 juin 2023

Prototype pattern instead of assigning the oject?

What is the deal with prototype pattern? Couldn't we just assign like done below?

Object x=y;

I understand prototype usage in pass by reference languages but, in most cases, it looks like it overcomplicates something that is easy.

Aucun commentaire:

Enregistrer un commentaire