News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by grumpyprole on Sunday October 24, 2021 @03:35PM (#28981172)
The first time I tried Scala, I got a type error based on the result of an implicit conversion, which succeeded locally but not for the entire expression. It took me a while to figure out what had happened. Advanced (mis) features such as this combined with encoding everything into objects with subtyping make Scala very complex. F# and OCaml are examples of much simpler languages that have most of the advantages (albeit no JVM).
Re:New language features since Java 8 to 17 by kaba0 on Monday October 25, 2021 @03:09AM (#28985177)
Implicits were majorly revamped in Scala 3, so do give it a look if you hadn’t already!