Explore thirteen different implementations of turtle graphics in this fast-paced conference talk from NDC London 2021. Dive into various functional programming techniques, starting with the well-known turtle graphics API and progressively stretching it to its limits. Learn about 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 (free monad). Gain a comprehensive overview of functional programming in practice, covering topics such as Object-Oriented Turtle, Abstract Data Turtle, Functional Turtle, Behavior, State monad, Error handling, Batch commands, Actor model, Event Sourcing, and Stream processing demo. Perfect for FP-curious developers looking to expand their understanding of functional programming concepts and their practical applications.
Overview
Syllabus
Intro
Object Oriented Turtle
Abstract Data Turtle
Functional Turtle
Behavior
State monad
Error handling
Batch commands
Actor model
Event Sourcing
Stream processing demo
Interpreter
Taught by
NDC Conferences