News for hackers. Stuff that matters.
Re:Experts warn of steep increase in Java costs by jimmaswell on Friday January 27, 2023 @10:08AM (#34546864)
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".
Re:Experts warn of steep increase in Java costs by za3faran on Friday January 27, 2023 @10:42AM (#34547264)
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.

Re:Experts warn of steep increase in Java costs by jimmaswell on Friday January 27, 2023 @12:04PM (#34548457)
What's not proper about C# enums?
Re:Experts warn of steep increase in Java costs by za3faran on Saturday January 28, 2023 @04:58PM (#34562404)
They are not distinct types. You can pass ints to methods that accept enums, even if they are outside the enum defined range.