News for hackers. Stuff that matters.
Re:C# Is Dying and Microsoft Is Killing It by pornel on Tuesday January 31, 2023 @07:20PM (#34604402)
These "terrible" changes like type inference and pattern matching look great to me.

The article mentions Dart as a simple alternative, but funny enough Dart has type inference too and is planning to add pattern matching.

I don't see C# dying. Redmonk looks at both StackOverflow and GitHub projects and the combined popularity of C# remains remarkably constant: https://redmonk.com/rstephens/files/2022/10/redmonk-language...

The languages that are growing, like Kotlin and Rust, have these hipster features too.

Re:C# Is Dying and Microsoft Is Killing It by chrismeller on Tuesday January 31, 2023 @07:42PM (#34604630)
You could also compare C# to Typescript and F#, both of which adopted pattern matching and a lot of the “algorithmic” features way before C# did.

I personally don’t like a lot of the “a’ of list b’” nomenclature because I’m bad at algebraic math, but that doesn’t mean that C# is dying. They’re all optional…

Re:C# Is Dying and Microsoft Is Killing It by schwartzworld on Tuesday January 31, 2023 @07:48PM (#34604684)
Pattern matching in TS? Since when?