Whirlwind tour of the Scala Functional Programming ecosystem
summary
Builds a small but production-derived Twilio text service that receives HTTP requests, queries or inserts a phone number in a database, validates numbers, and sends SMS; uses Scalaz-style algebras, tests business logic by modeling external systems as a State "world" and asserting initial vs expected world, and chooses ZIO Task as the concrete F with doobie transact to run SQL and http4s + FS2 to expose a streaming server. Claims code mirrors iOFFICE production, composes effects, and runs when the stream is consumed.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 3:00referential transparency
- 6:34side effects
- 8:30in effect
- 10:30Twilio
- 11:50External services
- 13:00Scala
- 13:45Algebra
- 16:20Business logic
- 19:00Text message
- 21:10State
- 23:55Save
- 27:00Scala Mach
- 28:40Scala zio
- 32:25Scala Twilio app
- 39:05HTTP request
- 40:10HTTP service
- 41:35Stream
- 42:10Error Handling
- 44:05Wiring off the app
- 48:10Using different effect types
related talks
47mWhirlwind Tour of the Scala Functional Programming Ecosystem
01h 28mAsynchronous and Concurrent Programming in Scala Part 1
01h 12mAsynchronous and Concurrent Programming in Scala Part 3
01h 53mAsynchronous and Concurrent Programming in Scala Part 2
49mStream Away with Scala
05mInterview
53mFunctional Async on the JVM
52mBake Real-life Apps with a Handful of Free, Coproducts & Types
