this post was submitted on 09 Jun 2024
229 points (79.7% liked)

> Greentext

7394 readers
8 users here now

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 months ago (1 children)

Well with your mild surprise on the line the stakes couldn't be higher

I know C# works, it pays my bills so that's good enough for me.

Here's a good place to see what it can do:

https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-8.0&tabs=visual-studio

[–] [email protected] 0 points 2 months ago (1 children)

I am familiar.

Not saying don't pay your bills with it; that part sounds great. I was just confused by this guy's enthusiasm for it, that's all.

[–] [email protected] 1 points 2 months ago

Well, for starters, it's a greentext, so who knows how genuine it is, right? Most of the points listed are either subjective or citation needed fodder. However, maybe there's one fact I can bring to the table:

ASP.NET's benchmark performance ranked 16th in Round 22 of the TechEmpower Web Framework Benchmarks, ranking below solutions written in Rust, C, Java, and JS. C# has advantages over each of those languages and frameworks in exchange for the relative loss in performance. Rust and C are much lower level. Java's syntax is generally considered to lag behind C#'s at this point. JS's disadvantages could fill a whole post of their own. C# and .NET have their own disadvantages (such as relatively fewer libraries available) as you've pointed out in this thread and another in this post, but when you take into consideration the relatively high performance while being a strongly-typed higher-level language with plenty of nice QoL features, you might be able to see why it could be attractive to a specific slice of professionals.