From Java to Scala 3, from Lambdas to Functional Programming: More Readable, More Expl...
summary
Compares Java lambdas with Scala 3 features and shows concrete benefits like native algebraic data types (ADTs), IO/effect systems to delay and compose side effects, opaque types for safer IDs, improved syntax, and scalafix-assisted migrations. Demonstrates these by implementing a playable Uno game (event-sourced rules engine, server‑sent events, a concurrent Ref cache, DB persistence and tests) with the code available on GitHub; also notes rough edges in Scala 3 tooling (IDE plugins).
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:04Goals and agenda
- 1:47Speakers
- 8:35Scala history
- 12:49Scala 3 changes
- 20:09Java vs Scala
- 24:47Scala benefits
- 31:53Scala community
- 37:13Why Scala in 2023
- 45:28Functional concepts
- 57:10Typed FP
- 59:57FP design patterns
- 1:04:20FP function laws
- 1:15:03Side effects handling
- 1:28:16ADTs
- 1:37:10Types and classes
- 1:51:53Break
- 1:58:16UNO demo
- 2:35:50IO and effects
- 2:47:09Conclusion & Q&A
related talks
44mFrom Java to Scala: how I discovered functional programming
01h 00mWhat The Functional Programming
40mA Little Bit of Functional, a Little Bit of Java(...)
01h 02mFunctional Programming in Java, Groovy, and Kotlin
43mFunctional Programming in Java, Groovy, and Kotlin
49mCode Without Fear: Scala 3 and Iron, the Heroes of Reliability in Functional Programming
45mFunctional Refactoring: How to Approach It
41mThe... wonderful? World of lambdas
