+4
Planned

Design Patterns with a functional approach

Zen 9 months ago • updated 9 months ago 2

Hi, would you be looking to update the Java code examples to use the more modern Java 8 idioms? For example, in the Decorator pattern you can use a more functional approach. It would be good to describe both ways as each as an advantage. 

Planned

Thanks for the great suggestion, Zen! I'll provide the alternative versions once I get some spare time. If you'd like to help, feel free to point me into other examples where the changes can be applied.

I think it would really add value. Take a look at the examples for Decorator, Template and Builder here for some good examples; http://publicstaticmain.blogspot.ca/2016/05/template-method-and-builder-pattern.html