Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mariofusco/from-gof-to-lambda
https://github.com/mariofusco/from-gof-to-lambda
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mariofusco/from-gof-to-lambda
- Owner: mariofusco
- Created: 2016-03-02T16:34:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-07T23:48:47.000Z (almost 3 years ago)
- Last Synced: 2024-10-27T08:38:41.784Z (about 2 months ago)
- Language: Java
- Size: 293 KB
- Stars: 860
- Watchers: 60
- Forks: 173
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-design-patterns - from-gof-to-lambda
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 + FunctionsThe 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).