The easiest way to skyrocket your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Scala 3: Givens vs. Implicits | Rock the JVM

Follow
Rock the JVM

Scala 3 New Features course for Scala 2 developers:
https://rockthejvm.com/p/scala3new...

Written version: https://blog.rockthejvm.com/givensvs...

This video explores the new shift in contextual abstractions in Scala 3. We'll compare the old implicits mechanism with the new given/using clauses. Among others, we'll discuss

implicit conversions
explicit imports
figuring out which implicit is being used
syntax ambiguities
subtle differences

For more context on given/using clauses:    • Given and Using Clauses in Scala 3 | ...  

The Rock the JVM Cats course which uses these kinds of abstractions A LOT: https://rockthejvm.com/p/cats'>https://rockthejvm.com/p/cats

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 https://dotty.epfl.ch/docs/usage/ide...

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://blog.rockthejvm.com


Home: https://rockthejvm.com

posted by mahashumu82