News for hackers. Stuff that matters.
Re:Metals with Scala 3 by sideeffffect on Monday February 08, 2021 @11:24AM (#26066540)
> I think Scala will always suffer from its choice to make implicits so fundamental.

Thankfully it won't. Scala 3 deconstructs implicits and discourages (or outright discards) the bad parts: http://dotty.epfl.ch/docs/reference/contextual/motivation.ht...

"Implicits" are useful for the Type class pattern and is available in Scala 3 with an improved syntax.

"Implicits" for implicit conversions is an ugly hack that should be avoided as much as possible and Scala 3 restricts it.

"Implicits" for extension methods is a clever hack, and Scala 3 provides a dedicated syntax for defining extension methods.

There are no comments on this comment yet.