diff --git a/README.md b/README.md index 83312ad..942097e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ - [Builder](#builder) - [Factory](#factory) - [Abstract Factory](#abstract-factory) + - [Prototype](#prototype) - [Structural patterns](#structural-patterns) - [Composition](#composition) - [Adapter](#adapter) @@ -40,6 +41,9 @@ instantiate. Factory Method lets a class defer instantiation to subclasses. Provide an interface for creating famili es of related or dependent objects without specifying their concrete classes. +### Prototype +Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this protoype. + ## Structural patterns Structural patterns are concerned with how classes and objects are composed to form larger structures. Structural class patterns use inheritance to compose interfaces or implementations.