Thirteen ways of looking at a Turtle - Scott Wlaschin - NDC London 2021
NDC Conferences NDC Conferences
190K subscribers
6,934 views
0

 Published On Jun 24, 2021

In this fast-paced talk, I'll start with the well known API for turtle graphics, and then stretch it to the breaking point by creating 13 different implementations, each demonstrating a different functional programming technique. Along the way, we'll use partial application, functional dependency injection, validation with Success/Failure results, the Result/Either monad, the State monad, agents with message queues, event sourcing, stream processing, capability-based design, and the interpreter pattern (aka free monad). Phew!

If you're an FP-curious developer, I hope this will be a useful way to get a quick overview of functional programming in practice.

show more

Share/Embed