Re:New language features since Java 8 to 17
by tunesmith on Sunday October 24, 2021 @03:00PM
(#28980891)
Which is a bummer for folks that loves the cleanliness and power of "basic Scala" (pure functions, immutability) without wanting to get into deep FP theory (typelevel, zio). That has been a really nice pocket to be in for teams that have the discipline to not get clever with it. Same with teams wanting to integrate with Akka on scala.
[ Parent
| on HN ]
Re:New language features since Java 8 to 17
by Zababa on Sunday October 24, 2021 @03:13PM
(#28980982)
I think between Scala 3 and the Li Hayoi ecosystem, there is a path to simplicity. But that usually means you lose part of the appeal of the language, since you can't use some parts of the ecosystem.
Re:New language features since Java 8 to 17
by hocuspocus on Sunday October 24, 2021 @03:15PM
(#28980997)
Zio is pretty much what you want. No need to understand category theory, no over-reliance on implicit resolution, ...
That said you don't need to understand that much to use high-level libraries in the Typelevel ecosystem. And when I do need to reach for low-level constructs, I find nice that everything is built upon clean and composable abstractions.
You mention Akka, it's kind of its own beast. The inner workings go definitely way beyond "better Java", yet Lightbend needs to provide a surface API that plays nice with Java interop. It's not an ecosystem easy to navigate in my opinion.