Hacker News new | ask | show | jobs
by int_19h 1217 days ago
Only if by "modern Java" you mean Kotlin.

C# has top-level functions and even top-level code these days, but it evolves a lot faster.

1 comments

When Kotlin ships with their own JVM replacement, we might think about calling it "modern" Java.
I did not mean suggest that it is one. But many people outside of the ecosystem seem to treat it this way after Google started promoting it, which would explain OP's confusion.