Hacker News new | ask | show | jobs
by za3faran 1241 days ago
That's not really true to the slightest. If anything, the advances in the JVM and the language itself have been making it even more attractive and distinct from its nearest competitors, making the gap even wider in its favor.
1 comments

Do you know C#? Learn it and every time you write any Java you'll think to yourself "I wish I was writing C# instead".
It does have some nice features, but it can get overwhelming quickly with the pace they're being added at, not to mention some features being quite nuanced or interact with each other in intricate ways.

At least for the time being, Java has exhaustive pattern matching and proper enums, whereas C# doesn't.

What's not proper about C# enums?
They are not distinct types. You can pass ints to methods that accept enums, even if they are outside the enum defined range.