Re:Ask HN: What is a modern Java environment?
by Hardik_Shah on Tuesday March 29, 2022 @09:24AM
(#30842216)
Over the last five years, the Java Platform has seen a tremendous amount of evolution and improvement in a variety of areas, including: language features in Java, Kotlin, and Scala; Functional Programming; dev environments; test workflows; Reactive; Stream processing; and distributed data.
[ Parent
| on HN ]
Re:Ask HN: What is a modern Java environment?
by soco on Tuesday March 29, 2022 @10:23AM
(#30842916)
Is Scala still in trend?
Re:Ask HN: What is a modern Java environment?
by softwarebeware on Tuesday March 29, 2022 @11:57AM
(#30844244)
It's Kotlin now. Kotlin has similar expressibility and extensibility, without Scala pitfalls. (Scala pitfalls that people didn't like included new versions having breaking changes, complexity, theoretical/academic features that weren't necessarily useful to consumer applications, and slow build times).
Re:Ask HN: What is a modern Java environment?
by kaba0 on Tuesday March 29, 2022 @02:56PM
(#30846854)
New versions don’t have breaking changes, they are just not binary compatible between major version upgrades which is true of many other languages as well.
Regarding complexity - scala has many features due to having a small number of clever primitives. Kotlin special cases many common cases, but imo that will be a more complex language down the line. I really don’t know what do you mean by academic features — one can make haskell libs with scala but they are libs, not language features. And build time-wise it is not that much slower than kotlin.
Re:Ask HN: What is a modern Java environment?
by kaba0 on Tuesday March 29, 2022 @01:39PM
(#30845884)
I would say it is no longer a hyped language (Kotlin took over that position), but it recently became Scala 3 which was a huge revamp. It polished some of the edges regarding implicits (which is a really useful and novel feature), and it has a very advanced and elegant type system with optional null-checking.
Re:Ask HN: What is a modern Java environment?
by isbvhodnvemrwvn on Tuesday March 29, 2022 @10:59AM
(#30843435)
Not really. It hasn't seen growth for a while.