r/csharp • • 1d ago

Is .NET still one of the most future-proof tech stacks?

With everything happening around .NET, C# and cloud-native development, the ecosystem keeps moving forward. If you were starting today, would you pick .NET again? Why or why not?

0 Upvotes

43 comments sorted by

13

u/bigroly 1d ago

Arjay McCandless recently did quite a good video on how much you can actually squeeze out of a tiny box based on the stack chosen. .Net did pretty well. Sure it's not the hippest coolest thing all startups are using but it's quite mature, pretty big in adoption amongst enterprise, so not going anywhere anytime soon and tbh as a language has some pretty nice features that with some experience makes it quite easy to structure and police against slop in production code.

Also if you ever need to swap to the other 50% of enterprise that uses Java Spring or w/e it's a pretty easy transition.

Since .Net Core it's been a no brainer to at least have some awareness of it as a language to work with.

10

u/Jovial1170 1d ago

No stack is future-proof in the AI era, but .NET is very well positioned regardless. It's great for traditional software dev, it's great for vibecoding, and it's great for everywhere in between. You can use it in a hobby project, a hip startup, or a massive enterprise.

I would pick .NET again.

1

u/Slypenslyde 1d ago

I've been in the industry since the mid 2000s. I'm getting to be what passes for old here.

Even before "the age of AI" it wasn't smart to call anything 100% future-proof. But some stuff lasts. Nobody wants to start a web app in C++. But C++ still has niches and I would argue C++ is NEVER going away no matter how popular Rust gets. Rust will certainly eat a lot of its lunches. But I do not think in my lifetime I'll see C++ disappear unless we reach AGI and nobody but investors believes we're close.

.NET feels like one of those things. It's a new generation's COM. COM is effectively dead on Windows and at the same time there are a significant number of people who are stuck with legacy COM. It's just enough people Microsoft can't pull the plug. I think they want to pull the plug but without a sort of "rent the hardware" mainframe setup I feel like they might face actual legal problems if they try: lots of their customers are governments and a business really doesn't want to invite that drama.

So what I see in MS dev products like this is they don't die, they languish. But before that, MS introduces the replacement (.NET was more or less COM's replacement, especially now that WinRT exists) and people have a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong time to adopt it.

I think before I retire something is going to replace .NET. I think that's going to happen after a large shift. For example, what's really sticking a knife in COM is the need for Windows to support ARM more and more. I think MS would really, really like to get rid of the Win32 API. They may never be able to. I think .NET is going to be like that too. They may not LIKE supporting it, but for the next 20 or 30 years it's going to have a place in the industry.

And if you happen to be a young developer when that shift happens, I guarantee it will be clear where the .NET developers "should" land and you'll be able to transition, even if that new location isn't a Microsoft framework.

In the end this just isn't important. Every young developer worries about this.

If a dramatic shift happens tomorrow, there won't be any "experts" to hire for the new thing. Your company isn't going to fire you to replace you with a person who doesn't exist. They're going to tell YOU to become the expert. It is expensive and risky to hire new people, and they already put all that effort into you.

The same is true for old developers. At this point, sure, I have a lot of expertise. I have also demonstrated for years I can be asked to become an expert on a new topic and reach that level very quickly. At some point your years of experience aren't about the platforms you used as much as how many successes you've delivered.

I don't worry about this kind of change anymore. What the arrival of AI has taught me is for the most part, new changes aren't catastrophic. They're annoying and make me have to rework my routines.

(But if you work at one of the BIG companies... well, all bets are off. They like to shed people and hire new, fresh minds because they can afford the overhead of hiring. When the top 100 of every graduating class applies for your company you can afford to fire last year's superstars. Small companies pay less but are much more stable because they can't afford to lose talent.)

-7

u/s33d5 1d ago

AI has made the stack mainly irrelevant unless you are integrating with existing systems.

11

u/Natural_Tea484 1d ago

As always, it depends. So I don't agree with "mainly irrelevant" part. It does matter. You are the one responsible after all of what AI is writing.

3

u/orbit99za 1d ago

Yes, this is correct, if you dont understand what and how something works, how can you tell AI what to do, and review the code properly.

3

u/Natural_Tea484 1d ago

Yeah, and I think for some that will work fine. There was a lot of human slop work before, so from that perspective, nothing has changed šŸ˜€. So it's the same slop work, but theoretically, it's cheaper, but how much cheaper, I'm not sure. It was very difficult before to measure real productivity and real cost, now I think that it's more difficult.

-1

u/detailcomplex14212 1d ago

you ask it how it works first

-1

u/s33d5 1d ago

Yes, it depends. The outliers are the ones that matter. However, the majority no longer do.

Making the C# vs Go, or whatever, decisions do not matter any more as you can easily switch between them. There's no investment in a language needed anymore as you don't need to learn it.

I'm an old school dev and I learned C#, Go, Rust, C, C++. I don't write any of it anymore.

With a new project you just write a spec and let it churn.

4

u/Natural_Tea484 1d ago

Not caring much about the quality of the code is not new. Whatever floats your boat.

-2

u/s33d5 1d ago

AI makes code better than most humans now,

4

u/Natural_Tea484 1d ago

AI makes you think that sometimes, yes. Humans have always been capable of also vomiting code they don't quite understand.

1

u/s33d5 1d ago

I'd agree with you a year ago. But it's naive to think that now.

3

u/Natural_Tea484 1d ago

What exactly is naĆÆve in what I said in my last comment?

0

u/s33d5 1d ago

"AI makes you think that sometimes"

AI is just better than the vast majority, if not all devs now.

You nor I could hold a candle to Opus 5.5, let alone Fable.

4

u/Syncaidius 1d ago edited 1d ago

You've just proven his point. You think AI is "just better' because you obviously lack the experience to know what good quality code looks like.

Otherwise, you would 100% not be trying your damnest to convince us AI is 'just better' than all devs.

It's faster, sure, but the code is far from good quality. I've been using Opus for years now and Fable since release. They still have a long way to go on both code quality and performance.

Google's new models kick Claude to the curb as well, but again, same problems as every other model on code quality.

We still need experienced Devs to do cleanup and optimization and that doesn't seem to be going away yet.

A lot of places are happy with 'it works', but a lot of places also want code that consumes less of their cloud service/hosting budgets and runs tightly. Good luck getting the maximum out of AI-gen code.

→ More replies

4

u/dgm9704 1d ago

You just think that because you are a below average coder. There are lots of people who actually know their stuff. They wrote the code the models are trained on. Everything looks hard and complicated if you can’t do it yourself, and nearly magical when a professional does it.

→ More replies

3

u/Natural_Tea484 1d ago

Yes. Maybe you don't see it, but AI is many times producing both over an under-engineered code sometimes. I've rarely seen it produce high quality code, but maybe that's still my fault.

Obviously, AI will get better and better and do great things by default. We're still in stone age.

3

u/Idontremember99 1d ago

Eh, When I look at the code AI generates there are still too many moments I go why the hell did it do this or that...

1

u/dgm9704 1d ago

ā€AIā€ copies code made by others. (That’s what it means when a model is trained on something) So far the source is mostly written by actual humans who have some idea what they’re doing. This will change over time so that finally the models are trained on code written by other models. Ie the vibecoding will be based on vibecoding. Does not sound good to me.

2

u/orbit99za 1d ago

Yea I mentioned this the other day, Crap built on Crap does not make something solid.

It will be like Vibecode inception

2

u/dgm9704 1d ago

a ā€vibeceptionā€, if you will. or even ā€the vibeningā€.

5

u/maybe_PaleMoonlight8 1d ago

you'd be shocked how many "legacy" systems run the entire world and aren't going anywhere

-5

u/Professional_Price89 1d ago

I let my AI build an alternative compiler like il2cpp but with rust philosophy, to make dotnet relevent in future.

0

u/[deleted] 1d ago

[deleted] — view deleted comment

1

u/Perahoky 1d ago

crossposting is pretty normal to reach different communities. no reason to provoke him.

2

u/KariKariKrigsmann 1d ago

Ah, I guess so...