From 888126283e7236ac67b85671d1b88e7e92e6c7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Sun, 10 Aug 2014 10:09:20 +0300 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0b06f9149..f35c7beb3 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,8 @@ Intent: Provide an interface for creating families of related or dependent objec Builder ======= Intent: Separate the construction of a complex object from its representation so that the same construction process can create different representations. + + +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.