News for hackers. Stuff that matters.
Re:Good-bye core types; Hello Go as we know and love it by CharlieDigital on Wednesday March 26, 2025 @06:42PM (#43488308)
Lots of real orgs use C#.

StackOverflow survey (self reported) for 2024 shows it at #5 leaving out HTML/CSS, and SQL[0]

DevJobsScanner shows it at #4 via scraping job postings[1]

It definitely has heavy adoption; well above Rust and Go despite what we see here on HN.

    > Does it have any actual advantages over Java?
The language evolves faster and is more akin to Kotlin than to Java, IMO. The DX is fantastic and there are a few gems like LINQ, Entity Framework, and Roslyn source generators. Modern C# can be very dense yet still highly legible.

C# switch expressions with pattern matching (not switch-case), for example[2], are fantastic.

[0] https://survey.stackoverflow.co/2024/technology

[1] https://www.devjobsscanner.com/blog/top-8-most-demanded-prog...

[2] https://timdeschryver.dev/blog/pattern-matching-examples-in-...

Re:Good-bye core types; Hello Go as we know and love it by alemanek on Wednesday March 26, 2025 @07:29PM (#43488723)
It has been 8 years since I last wrote any C# code and I still miss LINQ to Objects. It felt so natural building up queries against collections and very readable.
Re:Good-bye core types; Hello Go as we know and love it by CharlieDigital on Wednesday March 26, 2025 @08:59PM (#43489329)
They've made the language much more terse, IMO, taking a lot of cues from TypeScript/JS as well as other languages. Constructs like primary constructors, record types, pattern matching, and destructuring continue to improve ergonomics, IMO.

For a quick comparison, check out https://typescript-is-like-csharp.chrlschn.dev/