News for hackers. Stuff that matters.
Re:Java Is Underhyped by jiggawatts on Friday April 16, 2021 @07:34AM (#26832593)
My experience with C# is similar. It was always designed to be a Java clone, and Microsoft is well-known for their backwards compatibility.

I once wrote an application in 2005 that kept running with unmodified source code up until 2017 in production across multiple operating system upgrades, database upgrades, and a transition from 32-bit to 64-bit runtimes.

Re:Java Is Underhyped by linknoid on Friday April 16, 2021 @08:20AM (#26832960)
And then they decided to end that line of succession. .NET Framework 4.8 is the last version of the framework. I've started experimenting with converting code to .NET 5, but it's a rather large jump compared to any previous upgrade. Going from 2.0 to 4.0 had a few minor hiccups, but going to .NET 5 is basically a rewrite of the framework and runtime, and I'm not sure how old and new assemblies will co-exist. It feels like a fragmenting of the ecosystem, where a bunch of code will be stuck on .NET 4 forever, and other code will move to the .NET 5 and later.

I'm almost expecting a few years down the road, Microsoft will go back on 4.8 being end-of-the-line for .NET 4 and start releasing new minor versions of it because of all the customer code that can't be ported to .NET 5. Or maybe it will just end up like VB6. Stuff written in it still works, and will continue to work, but it's considered a dead language.

Re:Java Is Underhyped by V-2 on Friday April 16, 2021 @09:22AM (#26833538)
"[C#] was always designed to be a Java clone"

"Initially" would be somewhat closer to the truth than "always".

Re:Java Is Underhyped by tmccrary55 on Friday April 16, 2021 @10:58AM (#26834686)
It's still pretty damn similar and they continually add new features to match the other, keeping up with the joneses.
Re:Java Is Underhyped by V-2 on Friday April 16, 2021 @11:25AM (#26835011)
It's mostly Java that's playing catch-up, so arguably it's Java "cloning" C# rather than the other way round, and it's been that way for years now.