Scala 3 - A Quick Tour - Singapore Scala Programmers 2021
Scala 3 is just around the corner! But how can you give Scala 3 a try? What are some of its new exciting features? How do you migrate to Scala 3? Join us and you'll discover the answers to these questions ;)
Enums sealed abstract class Color(val rgb: Int) case object Red extends Color(0xFF0000) case object Green extends Color(0x00FF00) case object Blue extends Color(0x0000FF)
Enums sealed abstract class Color(val rgb: Int) case object Red extends Color(0xFF0000) case object Green extends Color(0x00FF00) case object Blue extends Color(0x0000FF) enum Color(val rgb: Int): case Red extends Color(0xFF0000) case Green extends Color(0x00FF00) case Blue extends Color(0x0000FF)
Improved Error Messages Arrested Developers What the Scala Compiler & Lucille Bluth Have In Common by Fiona Condon, NeScala 2017 https://www.youtube.com/watch?v=78iIbiRwFTM
Compatibility with 2.13 Migrating to Scala 3 is easy* ! * if you are using Scala 2.13 * if you don't have macros in your code Scala 3 Migration Guide https://scalacenter.github.io/scala-3-migration-guide