Update README.md
This commit is contained in:
parent
42a2c37d95
commit
eba22e2f7c
@ -20,6 +20,7 @@
|
||||
|
||||
**Applicability:** Use the Builder pattern when
|
||||
* the algorithm for creating a complex object should be independent of the parts that make up the object and how they're assembled
|
||||
* the construction process must allow different representations for the object that's constructed
|
||||
|
||||
##Factory Method
|
||||
**Intent:** Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
|
||||
|
Loading…
x
Reference in New Issue
Block a user