The Path from FP to OOP
summary
A talk about developing the Java/Scala library tofu to make building tagless-final style applications easier; it explains design decisions in that library and how creating high-level abstractions for pure functional programming led to rethinking object-oriented patterns.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 1:30Procedural programming
- 5:04Procedural problems
- 7:10OOP basics
- 9:59OOP class types
- 13:07FP introduction
- 16:20FP style and formulas
- 20:40Polymorphism across paradigms
- 23:40Q&A Java and paradigms
- 25:30Optics and lenses
- 26:37Handling side effects
- 30:51Monads intro
- 34:25Interpreting code with monads
- 37:16Fibers and concurrency
- 41:55Dependency injection with Reader
- 45:15Context and app init
- 47:22Pure FP limitations
- 49:24Loop with Free monad
- 51:58Typed Free monad
- 55:34Combining languages with Free
- 58:51Disillusionment with Free
- 1:00:13ZIO library
- 1:03:54Abstraction design
- 1:04:16Working with context
- 1:08:55Embedding and DI
- 1:09:17Combining implementations
- 1:12:07Conclusion
