Thirteen ways of looking at a Turtle
summary
Builds a simple turtle API and delivers 13 implementations that each demonstrate a real FP technique: partial application, currying, State/Result/Async expressions, agents/actor model, event sourcing, stream processing, functional dependency injection, and the interpreter pattern. Shows working demos (drawing triangles and polygons, accumulating distance, async/actor message queues, replayable event store) and explains how implementations compose, how results and state are threaded, when to persist events, and where optimizations (batching/merging instructions) apply — all implementations run live and the examples work.
AI-written summary · about
chapters (12)
- 0:00Intro
- 2:05Object Oriented Turtle
- 7:38Abstract Data Turtle
- 9:45Functional Turtle
- 10:37Behavior
- 13:24State monad
- 19:08Error handling
- 27:49Batch commands
- 32:23Actor model
- 34:39Event Sourcing
- 44:32Stream processing demo
- 53:29Interpreter
related talks
01h 05mThirteen ways of looking at a Turtle
01h 06mThirteen ways of looking at a Turtle
01h 06mThe Functional Programmer's Toolkit
44mFunctional Programming You Already Know
43mFunctional Programming in Java, Groovy, and Kotlin
01h 06mDesigning Applications with Functional Programming Constructs
42mTaking inspiration from the functional world
49m“Applying functional programming in code design"
