Design Patterns - Factory Method Pattern

I present you with the next pattern in our series, the Factory Method! It took a while to get it out due to a stay in the hospital. (All is fine now :p)

First of all, the definition: "Define an interface for creating an object, but let the subclasses decide which class to instantiate. The Factory method lets a class defer instantiation to subclasses."

Factory Method Pattern

Read more at http://blog.cumps.be/design-patterns-factory-method-pattern/

No Comments