Saturday, October 10, 2015

Implementing the Prototype pattern

The prototype pattern creates a prototypical instance which is then cloned for producing new objects. This pattern is very effective when the cost of cloning is less than the cost of creating a new object. 

No comments:

Post a Comment