Hacker News new | ask | show | jobs
by jimmaswell 1241 days ago
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".
1 comments

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.