News for hackers. Stuff that matters.
Re:What's new in C# 12: overview by jjice on Friday October 20, 2023 @07:35AM (#37954801)
I love that Java and C# (not sure about VB.NET and F# in the .NET ecosystem) are continuing to get handy language features instead of collecting dust. The array syntax stuff is a nice win.

Having other languages be the guinea pigs for language features is a good way to go.

[dead]
Re:What's new in C# 12: overview by Cthulhu_ on Friday October 20, 2023 @08:19AM (#37955099)
Yeah, it feels like Java (the language, not the JVM or ecosystem) was stuck in limbo since generics were added in Java 5, during that time C# came out and overtook it in terms of features / developer ergonomics.
Re:What's new in C# 12: overview by pjmlp on Friday October 20, 2023 @08:39AM (#37955252)
Yeah I guess the company responsible for Java going bankrupt, and having its team getting up to the grips with the new employer might have something to do with it.

Still there are plenty of markets where even .NET doesn't have a presence, like real time embedded systems, factory automation hardware, copiers, mainframes, blueray players, M2M gateways, and an OS being used by 80% of the planet, as Microsoft botched their own when it was already achieving 10% in Europe.

I love both platforms, however .NET cross-platform story still needs a bit of improvement versus what Java has been used in the last 28 years.

Re:What's new in C# 12: overview by jk_i_am_a_robot on Friday October 20, 2023 @11:57AM (#37957896)
C# designers have always made good choices about syntactic additions. Contrast this to modern C++ designers who jam in every new addition with the goal of total inscrutability.
Re:What's new in C# 12: overview by pjmlp on Friday October 20, 2023 @03:23PM (#37960359)
In ISO languages the features that get win are the ones that win elections rounds, currently C++ has more than 300 people voting, and submitting proposals, that is naturally a problem.
Re:What's new in C# 12: overview by seanmcdirmid on Friday October 20, 2023 @03:27PM (#37960411)
C# is pretty good, they have done a great job in language design. I miss using the language (TypeScript is great also).

As for Java, I guess it would be more notable that they haven't moved as much if it weren't for Kotlin.

Re:What's new in C# 12: overview by tonyedgecombe on Friday October 20, 2023 @09:36AM (#37955779)
[delayed]
Re:What's new in C# 12: overview by Turskarama on Friday October 20, 2023 @10:08PM (#37963459)
I want algebraic data types, again not sure if it's doable but they already have the pattern matching to support it.
Re:What's new in C# 12: overview by jmaker on Saturday October 21, 2023 @12:34AM (#37964114)
With sealed classes and explicit inheritance you have it in Java now