Prototype: Benefits and Caveats
Compare the advantages and disadvantages of the Prototype design pattern.
We'll cover the following...
Benefits of using the Prototype design pattern
The main benefits of using the Prototype design pattern can be summarized as follows:
- If we need to copy an object, the logic of copying it will be present in a single place in the entire codebase, which enforces