Why Scala 3 will be awesome
summary
Live coding compares Scala 2 implementations with Scala 3 rewrites showing concrete changes: using @main annotation with varargs and automatic primitive parsing, replacing complex implicits with opaque types for zero cost newtypes and union types to encode exact error channels so the compiler now warns when a new error case is unhandled. Demos include enums for ADTs, extension methods with targetName, context functions for a HTML DSL, and shorter typeclass derivation that compiles and runs.
AI-written summary · about
chapters (9)
- 0:00Introduction and speaker intro
- 1:09Scala 3 feature overview
- 2:35Running applications in Scala 3
- 5:49Error handling improvements
- 9:45Domain modeling with opaque types
- 13:58Building HTML DSLs
- 20:29Extending types with extensions
- 24:22Type classes in Scala 3
- 27:11Summary and future impact
related talks
52mWhat's coming in Scala 3
49mTen Cool Things You Can Do With Scala 3
30mLessons Learned from 15 Years of Scala in the Wild
51mOpening Keynote: New Functional Constructs in Scala 3
32mAdvanced Features of Scala 3
01h 02mSimply Scala
01h 04mOpening Keynote: Preparing for Scala 3
29mMaking the Transition to Scala 3
