Better HN
topnewbestaskshowjobs
Log inSign up

mrsmrtss

142 karma · joined Jun 27, 2025 (1y ago) · 138 submissions

Submissions

comment 2d ago · link · parent

How is Go (developed by Google) better in this regard than C#/.NET, given that both are free and open source? Or do you think Google is somehow less of an "evil" large proprietary corporation than Microsoft?

comment 3d ago · link · parent

Same experience, AI gets things sort of working fast, but the code quality is generally quite bad.

comment 1w ago · link · parent

Go models aren't easier, but the existing TypeScript codebase leaned heavily toward structural types, which made it a better match for Go and at least initially made porting easier for them.

comment 2mo ago · link · parent

JavaScript didn't "win" because it was a good language (it is not), it "won" because it was the only language that ran in the browser.

comment 2mo ago · link · parent

Agreed on async. You better know if a function does IO, hiding that can lead to nasty surprises.

comment 5mo ago · link · parent

> JavaScript is faster than C#

Are you joking? C# is in another leage, when we talk about performance.

comment 5mo ago · link · parent

That's not how TDD works. You test the whole chain and all the components with tests and you can move from top to bottom with TDD, it's actually how you should do it.

comment 6mo ago · link · parent

> while if you wrote it exactly like Java, you'd probably end up with slower code.

That's not the case for some time already, at worst you get similar performance with Java and with a little effort you can get significantly better performance.

comment 6mo ago · link · parent

I don't get what the big problem is with function coloring. You basically only need async when doing IO, and you had better know when a function does it, or you may have a bad surprise at some point in the future.

comment 6mo ago · link · parent

Maybe startup time was a problem before AOT?

comment 6mo ago · link · parent

So you try to say that Java gets to be more semantically sound by making bad choices early on? That does not make sense. Those choices are very difficult fix today and many of them can't be fixed. Say what you want but semantically more sound Java won't be. And the boxing with C# unions can and will be addressed later, this was a deliberate choice by the team to bring unions earlier.

comment 6mo ago · link · parent

For almost 10 years now, we have not published anything .NET to the Windows platform. .NET is more performant on Linux today than Windows, and I would say development is also better there (using Rider). However, we do still have devs who prefer Windows. We have built many critical systems on .NET and they just work, so they may be boring to some of the folks who like to have more excitement from their systems.

comment 6mo ago · link · parent

As if C# is Windows only? Today C# runs also almost everywhere.

comment 6mo ago · link · parent

C# (.NET) would probably be the winner here. Go standard library is rather minimalistic compared to it.

comment 6mo ago · link · parent

Fun it is not.

    if err != nil
It's amazing how they managed to design a new language with all the flaws of '90s languages.

comment 7mo ago · link · parent

C# will have more advanced sum types this year, it's currently in preview.

comment 7mo ago · link · parent

Well, C# has more powerful pattern matching, only compiler exhaustiveness on types is missing today. In Java, sum types (sealed interfaces/classes) require all members to have the same parent, so they can be used only in very narrow cases.

comment 7mo ago · link · parent

Reified generics, value types, nullable reference types, LINQ are only some of the things that would give C# an edge in DevEx today.

comment 7mo ago · link · parent

If you work with old .NET Framework, then maybe I would agree. What kind of issues do you have in standard library or how they are only biting you? Nothing is perfect, but compared to other (popular) alternatives, C#/.NET is the best you can get today.

comment 7mo ago · link · parent

Exactly, we have had many interns with zero C# experience become fluent in a couple of months and those with prior TypeScript or Java experience get there even faster. A good IDE (like Rider) helps also.

comment 7mo ago · link · parent

Maybe this is why they retired Single Server PostgreSQL and are now offering only the new Azure Database for PostgreSQL (flexible server). Zero problem with the latter for us so far.

comment 7mo ago · link · parent

I see that it's fashionable to bash everything MS related in HN, but let's not pretend that the other major cloud providers don't have their own problems (e.g. https://www.ft.com/content/7cab4ec7-4712-4137-b602-119a44f77... or https://blog.barrack.ai/google-gemini-api-key-vulnerability/). We have had a couple of critical services hosted on Azure over ten years already, call me lucky, but we haven't had any major incidents. That said, the AI Foundry side is broken garbage at the moment, but so is also AI stuff from other providers.

comment 7mo ago · link · parent

Fully agree with this! I think today .NET is probably the most batteries included platform you can get. This means that even if you use third-party libraries, these typically depend only on first-party dependencies, making it much less likely for something shady to sneak in.

comment 8mo ago · link · parent

Autoboxing is more a Java problem mainly because of type erasure with generics. C# has "proper" generics and no hidden boxing is occuring there.

comment 8mo ago · link · parent

I think that goes for any major cloud provider, not only AWS. But nothing is free, you pay a hefty premium to get this (compared to plain infra providers like Hetzner for example).

comment 8mo ago · link · parent

Add WarningsAsErrors for prject and you are done.

comment 8mo ago · link · parent

I had the exact same thoughts reading it.

comment 8mo ago · link · parent

True, it's in preview currently, but actually .NET is already very efficient with async today also - https://hez2010.github.io/async-runtimes-benchmarks-2024/ (.NET9 tested here).

comment 8mo ago · link · parent

In .NET 11 C# async management moved to the runtime, mostly eliminating heap allocations and also bringing clean stack traces. You really only need to think about ConfigureAwait(false) when building shared libraries or dealing with UI frameworks (even there you mostly don't need it).

comment 8mo ago · link · parent

No, it's not, it's a SQL builder.
12345