Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mariofusco/from-gof-to-lambda


https://github.com/mariofusco/from-gof-to-lambda

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# g ∘ f patterns (aka From Gof to lambda)

## by [Mario Fusco](https://twitter.com/mariofusco)

Pattern | Lambda
----------------------- | --------------
Command | Functions
Strategy | Functions
Template | Consumer
Observer | Consumer
Decorator | Functions composition
Chain of Responsibility | Stream of functions
Interpreter | Map of functions
Visitor | Pattern matching + Functions

The video of talk where I implemented this patterns in a live coding session is available [here](https://www.youtube.com/watch?v=lZG74WbnhoE).

Same patterns have also been reimplemented in [Swift](https://github.com/truizlop/GOFToLambda) and [Kotlin](https://github.com/lmller/gof-in-kotlin).