0:00 / 0:00
#scala3#extensionmethods#implicits
Scala 3: Extension Methods
Rock the JVM
27K subscribers • 62 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
Intermediate. Assumes working knowledge.
3.1K views5 years ago1 recommendation
Programming languagesScalaLanguage design and type systems
An exploration of extension methods in Scala 3, showing how they replace the Scala 2 implicit class pattern to enhance existing types.
Scala 3 New Features course for Scala 2 developers: rockthejvm.com/p/scala-3-new-features Written version: blog.rockthejvm.com/scala-3-extension-methods/ This video explores extension methods, a completely new first-class feature of Scala 3. This replaces the Scala 2 implicit class + method pattern to enhance existing types with new methods. How to get started with Scala 3/Dotty: Option 1: install IntelliJ IDEA at jetbrains.com/idea with the Scala plugin which offers support for Scala 3/Dotty Option 2: check the official Dotty instructions at dotty.epfl.ch/docs/usage/ide-support.html Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: blog.rockthejvm.com ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------Why it's here
1 person recommends thisWhat people say. Recommended as a concise and clear tutorial on how extension methods work in Scala 3.