Tag Archives: Refactoring

Object Functional Paradigm – Subsume the Strategy Pattern


inspired by quote from Venkat Subramanium in his book “Functional Programming in Java 8”.
“The common, familiar design patterns are more approachable when we design with lambda expressions; we need fewer lines of code, classes, and interfaces, and far less ceremony to implement our designs.”
Other inspirations are Dhaval Dalal who lately got us introduced to Functional Programming. And lastly Naresh Jain whose Object Boot Camp provoked a thought of building a good habit of writing Blogs for our own good.

https://innovativegirish.wordpress.com/2015/04/29/java-8-functional-programming/

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/