Tag Archives: Factory Pattern

Elegant Factory using Functions as first class citizens


The main intent behind a Factory pattern described generically is to  “Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclass.” Factory pattern is one of the commonly applicable pattern […]

https://innovativegirish.wordpress.com/2015/05/05/elegant-factory-using-functions-as-first-class-citizens/

Elegant Factory using Functions as first class citizens


The main intent behind a Factory pattern described generically is to  “Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclass.” Factory pattern is one of the commonly applicable pattern […]

https://innovativegirish.wordpress.com/2015/05/05/elegant-factory-using-functions-as-first-class-citizens/