Making the Transition to Scala 3
summary
Scala 3 is final as of May 2021 with 3.1 just out and it reuses the same stdlib jar so most 2.13 code runs unchanged; the compiler accepts nearly all Scala 2 code and already fixes about 116 bugs fixed that remained in 2.x. New features include given/using keywords, context functions, guaranteed inline, match types, richer enums and optional indentation. Migration advice: update to 2.13 first, audit macros (Scala 2 macros must be republished), avoid diamond Scala2/3 dependency mixes, try the scala3-migrate tool and use -Xsource:3 and -rewrite; IntelliJ and Metals are ready.
AI-written summary · about
chapters (6)
- 0:00Introduction to Scala 3
- 3:25Why upgrade to Scala 3
- 6:15Benefits of Scala 3 features
- 17:52When and how to upgrade
- 26:29Learning resources for Scala 3
- 29:03Q&A








