News for hackers. Stuff that matters.
Re:Is .NET just miles ahead or am I delusional? by dagaci on Saturday April 13, 2024 @07:04AM (#40022187)
I would say it’s completely ok to break backwards compatibility every 20 -30 years as is the case with .NET. Breaking compatibility to consolidate and forward past learnings and that kind of thing. The old .NET framework will be supported for many decades into the future, so it’s not necessary to upgrade if there is no benefit, for example when your customers are .NET dev’s who expect to be support with the new versions
Re:Is .NET just miles ahead or am I delusional? by FrustratedMonky on Saturday April 13, 2024 @08:03AM (#40022578)
I'm curious what a good life time length should be to be considered 'stable'.

Allowing your code base to run ok for 10 years, 20, 30 without change. You are talking Cobol type situations where the rest of the industry has moved on, and now your are stuck. So each individual has to judge jumping ship and migrating their systems.

Even Python took the leap and did a major revision that broke everything. But guess it had to be done.

Re:Is .NET just miles ahead or am I delusional? by binary132 on Saturday April 13, 2024 @08:19AM (#40022662)
The Python 3 upgrade nightmare was a big mistake. I’m not saying I know the right way, but just because they did it that way doesn’t mean they had to and should have.
Re:Is .NET just miles ahead or am I delusional? by baq on Saturday April 13, 2024 @09:57AM (#40023184)
It was, but the language as it was in 2 was reaaaaaallly not XXI-century ready.

They could ship both interpreters and communicate with RPC for all I care as long as shit still worked. Though to be fair I haven’t written a single line of Python 2 for about 10 years now.

Re:Is .NET just miles ahead or am I delusional? by bmicraft on Saturday April 13, 2024 @04:16PM (#40025694)
It did break everything, but I'd hardly call it a mistake. Python3 is more popular than its predecessor ever was. It was very painful for many people, yes, but it doesn't seem to have hurt the language much if at all.
Re:Is .NET just miles ahead or am I delusional? by binary132 on Sunday April 14, 2024 @11:30AM (#40031821)
Just because it worked out doesn’t mean it was fine and the way things should be. There are definitely better ways.
Re:Is .NET just miles ahead or am I delusional? by formerly_proven on Saturday April 13, 2024 @07:18AM (#40022283)
This doesn't sound like once every 20-30 years (.NET itself is only 22):

> We do not guarantee 100% compatibility between major versions. This is true for both ASP.NET Core and the runtime itself. We intentionally make breaking changes where we believe that they are necessary to move the platform forward and the cost of the .NET ecosystem adjusting to them is low enough.

There is a major .NET release every year. Every other release is LTS with 3 years of support.

> The old .NET framework will be supported for many decades into the future

I'd guess so but Microsoft is not as clear on this as you'd wish. In all their policy documents they say it's "supported as a Windows component on the latest required update" or "Beginning with version 4.5.2 and later, .NET Framework is defined as a component of the Windows operating system (OS). Components receive the same support as their parent products, therefore, .NET Framework 4.5.2 and later follows the lifecycle policy of the underlying Windows OS on which it is installed." To me this seems to be carefully written to allow the possibility of changing that Windows component status in a Windows release. So, .NET Framework is supported as long as it is part of Windows, until it isn't.

Re:Is .NET just miles ahead or am I delusional? by fabian2k on Saturday April 13, 2024 @07:23AM (#40022326)
There was one huge breaking change, that was the move from the Windows-only .NET Framework to the cross-platform .NET Core. I assume that is the one the parent is talking about.

The major releases of modern .NET are relatively painless now, there aren't that many breaking changes. This is pretty much the same as many other languages, and kinda unavoidable unless you go for an ecosystem that aims for very long term stability and is essentially frozen.

The early .NET Core releases had some annoying breaking changes, but it's very different today.

Re:Is .NET just miles ahead or am I delusional? by dagaci on Saturday April 13, 2024 @07:33AM (#40022387)
>>We do not guarantee 100% compatibility between major versions.

This is a true caveat for any language or framework, and is a sensible disclaimer.

But I think the author was referring to transition from “.Net Framework 4” series (since 2001 when I first used it, ~23 years ago) where Microsoft declared “.Net Framework 4.8” would be the last major version of that series. And that new developments should use the “.NET Core” series, which is now named just “.NET “.

Re:Is .NET just miles ahead or am I delusional? by Jenk on Saturday April 13, 2024 @07:24AM (#40022331)
They are _very_ averse to breaking changes, however.