The last few years of server-side has been on Kotlin for me, however, modern Java is looking more and more like anything I'd need in a language.
Pretty much the opposite. Those who disliked it usually cited having to type too much due to class verbosity and variable verbosity (the former has merit, the latter was purely a choice).
If you no longer need to type in any of the code, what better than a language with a blazing fast and scalable runtime, with excellent debugging and monitoring support.
- AOT compilation: https://openjdk.org/jeps/544 - ~100ms startup for ZGC: https://openjdk.org/jeps/545
Almost all Java benchmarks are for the "steady state" after half an hour of warm up time.
> trailing commas and comments are not supported
Be strict in what you produce, be lenient in what you accept.
Grr.In that case they made the right choice, as machines won't be inserting trailing commas or comments in the first place, and the risk of having consuming apps inadvertently accept invalid data would be high otherwise.