Scala for the Rest of Us
summary
Argues that OO developers can adopt practical FP without diving into category theory, teaching a minimal checklist: immutability, case classes, pattern matching, Option/Either for absent values and errors, and for-comprehensions (monads) for short‑circuiting. Shows a working example, the Scala Pet Store, built with Play/Akka endpoints, hexagonal architecture and a SQL/Doobie repository, and reports it runs and teaches how wrapper types replace throws; notes teams are migrating toward Cats.
AI-written summary · about
chapters (14)
- 0:00Introduction to Scala
- 1:46OO to functional mindset
- 3:32Avoiding category theory trap
- 5:16Learning functional basics
- 6:20Prefer immutability in Scala
- 7:23Pattern matching benefits
- 8:26Handling nulls with Option
- 9:09Replacing exceptions with Either
- 10:53Monads and flatMap explained
- 12:19Start coding in Scala
- 13:23Building with type-level stack
- 14:28Hexagonal architecture in Scala
- 15:52Real-world monad examples
- 16:33Summary and next steps
related talks
48mObject Functional Programming
01h 00mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 1 of 6
01h 03mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 4 of 6
41mEffective Scala
38mThinking Less with Scala
01h 00mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 2 of 6
37mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 6 of 6
35mIntroducing Typelevel Scala into an OO environment
