June 2018
Intermediate to advanced
280 pages
7h 46m
English
The prototype pattern is a pattern that seems more complicated than it really is. Practically, it is just a method to clone objects. Why would we need to clone objects when, these days, instantiating objects is not too costly in terms of performance? There are several situations in which it is required to clone objects that are already instantiated:
Let's look at the following class diagram:
In the prototype pattern, ...
Read now
Unlock full access