Главная
Study mode:
on
1
Intro
2
Turtle API
3
Advantages and disadvantages
4
Transforming the function #1
5
How to return errors?
6
Implementation usine Result
7
What if the Turtle calls were async?
8
Async usage example
9
Review: Common patterns
10
How to convert a function into data?
11
"execute" implementation
12
"run" implementation
13
Pulling commands off a queue
14
Command vs. Event
15
Turtle stream processing example
16
Same for the Turtle client
17
Overview
18
Partial application in practice
19
APls create coupling
20
Create a "Program" type
21
Turtle Interpreter
22
Distance Interpreter
23
Capability-based API
Description:
Explore thirteen different implementations of turtle graphics in this comprehensive conference talk. Dive into various functional programming techniques, including partial application, functional dependency injection, validation with Success/Failure results, the Either monad, the State monad, agents with message queues, event sourcing, stream processing, capability-based design, and the interpreter pattern. Gain a quick overview of functional programming in practice, starting with the well-known turtle graphics API and stretching it to its limits. Learn how to transform functions, handle errors, implement async operations, convert functions into data, process commands and events, and create capability-based APIs. Discover common patterns and practical applications of partial application, API coupling, and interpreter design. Perfect for FP-curious developers seeking a fast-paced introduction to functional programming concepts and their real-world applications.

Thirteen Ways of Looking at a Turtle - Functional Programming in Practice

NDC Conferences
Add to list