47deg.com
GOF Patterns in a Functional Light
How new language features made Design Patterns more lightweight
Tomás Ruiz López
Senior Software Engineer
@tomasruizlopez
Slide 2
Slide 2 text
47deg.com
Iterator Gang of Four
Slide 3
Slide 3 text
47deg.com
Iterator Functional
Slide 4
Slide 4 text
47deg.com
Observer Gang of Four
Slide 5
Slide 5 text
47deg.com
Observer Gang of Four
Slide 6
Slide 6 text
47deg.com
Observer Functional
Slide 7
Slide 7 text
47deg.com
Observer Functional
Slide 8
Slide 8 text
47deg.com
Command Gang of Four
Slide 9
Slide 9 text
47deg.com
Command Gang of Four
Slide 10
Slide 10 text
47deg.com
Command Functional
Slide 11
Slide 11 text
47deg.com
Decorator Gang of Four
Slide 12
Slide 12 text
47deg.com
Decorator Gang of Four
Slide 13
Slide 13 text
47deg.com
Decorator Gang of Four
Slide 14
Slide 14 text
47deg.com
Decorator Gang of Four
Slide 15
Slide 15 text
47deg.com
Decorator Functional
Slide 16
Slide 16 text
47deg.com
Decorator Functional
Slide 17
Slide 17 text
47deg.com
What do all of them
have in common?
Slide 18
Slide 18 text
47deg.com
Functions
as first order values
Slide 19
Slide 19 text
47deg.com
Gang of Four Patterns in a Functional Light, by Mario Fusco
Design Patterns in the light of lambda expressions, by Venkat Subramanian
https://github.com/truizlop/GOFToLambda
Read more