3 ms·
You can use Scala without introducing implicits and even if you have to interopt with a library that does require them, it's quite easy to learn how to use them
by halfmatthalfcat 5y ago
You can use Scala without introducing implicits and even if you have to interopt with a library that does require them, it's quite easy to learn how to use them. It's also easy to abuse them but then that's not really Scala's problem.
They are changing implicits in Scala 3 though with the "given" keyword which is more ergonomic.
- cutler 5y agoScala can't let go of implicits as they're a fundamental part of the language. I just don't believe this Scala 3 fudge to give the impression implicits are not alive and well beneath the surface.
- esarbe 5y agoScala 3 takes the most common use cases for implicits and makes them more ergonomic. Implicits are still in the language, but not exposed as concept. Odersky called the approach for Scala 3 "intent over mechanism."