Hacker News new | ask | show | jobs
by seer-zig 1360 days ago
The good thing is that Java is incorporating the proven features of other languages. It has gotten records, pattern matching (better than Kotlin's), and in the latest release, virtual threads with structured concurrency, better than async/await, and also better than golang as it lacks structured concurrency.
1 comments

But implicit nulls are a big pain point (in both Java and Go). And its very hard to fix for Java (and no plant thus far).
There are solutions like CheckerFramework or Nullaway or other compile time annotation processors.
...and Kotlin :)