Home

Awesome

g ∘ f patterns (aka From Gof to lambda)

by Mario Fusco

PatternLambda
CommandFunctions
StrategyFunctions
TemplateConsumer
ObserverConsumer
DecoratorFunctions composition
Chain of ResponsibilityStream of functions
InterpreterMap of functions
VisitorPattern matching + Functions

The video of talk where I implemented this patterns in a live coding session is available here.

Same patterns have also been reimplemented in Swift and Kotlin.