Tag Archives: gang-of-four-pattern

Factory Method Pattern

According to Gang of Four: Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.  According to Wikipedia “The factory method pattern uses factory methods to deal with creating objects without specifying the exact class of object that will be created. This is done… Read More »

Gentle Introduction of GOF Design Patterns (Part – 01)

According Christopher Alexander “Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice” We can simplify design pattern… Read More »