r/csharp • • 14d ago

Will the rise of AI Coding affect the speed of new language features?

/r/dotnet/comments/1xybq5d/will_the_rise_of_ai_coding_affect_the_speed_of/

Crossposted from .NET, as I can't decide where to put this...

0 Upvotes

10 comments sorted by

2

u/TheDevilsAdvokaat 14d ago

It;s an interesting idea. I immediately thought that maybe they will make new languages targeting ais and then a few sentences later you said it's already happening...

Which makes me curious. What will an ai-targetted langue look like?

2

u/yankun0567 14d ago

My assumption, based on how AI currently works: Much shorter syntax but more keywords, faster build loops to detect errors and a framework containing much more base stuff (going back in time here) so that the AI doesn't depend so much on picking the right package. But again, this is only an intermediate result I believe. So a very compact written yet expressiv code. Imagine the code looking like minified TypeScript on steroids.

In the end, just writing machine code and getting rid of all the translations layers would (maybe) speed up all the things mentioned above.

1

u/TheDevilsAdvokaat 14d ago

Interesting ideas. Yeah, I too was thinking more keywords. AS we know they are VERY good at keeping lots of htigns in mind at once. The ...cost ratio for having lots of keywords and lots of syntaxt to remember is negligible for them. And there would be a comiler advantage in having super specific keywords....

I've actually written machine code myself and that was an interesting experience. At the time I did not have an assembler....

1

u/cs_legend_93 13d ago

I agree with this. And pretty soon we're going to be selecting AI-optimized programming languages instead of ones that we are familiar with.

1

u/Slypenslyde 13d ago

Probably more like Java and less like C#.

Agents don't need => for lambdas. They don't need auto-properties. They don't need 15 access specifiers, LINQ, or async/await.

These are features and syntax sugars created to help humans manage their cognitive load. LINQ and async/await are shortcuts to boilerplate people found tedious to write themselves.

Agents don't care about tedium and can generate their own customized and more optimized versions of the boilerplate. In fact, having 3 different ways to express the same thing can confuse them as they start to wonder if legacy code's inconsistencies represent semantic meaning.

You could make the argument the ideal language for agents is MSIL, but for one small problem: human operators are still the experts on "what the humans want" and need to be able to review the code to ensure the requirements are met. Tokens do cost money, so there is still value in succinct syntax and designing flexible APIs over inflexible ones when you expect maintenance to change things.

So I don't see much changing, other than human operators may have fewer requests for new language features as the tedium of building patterns to work around problems is reduced. I am not so optimistic there is a near future where the agents don't need supervision from experts. LLMs are good at solving problems people have trained them to solve. That means either:

  1. The problem has to be common, thus not something people pay a lot to solve
  2. Someone has to solve a novel problem and train the AI to do it, meaning you need a well-trained expert instead of a newbie

We're not creating a tool that eliminates all devleopers, it just contracts the market and makes people with experience more valuable. From that perspective, language still matters, but I do see things converging more later.

2

u/Slypenslyde 13d ago edited 13d ago

If anything it feels like the C# team's had a year or two to use these tools. I haven't noticed a big difference.

In fact the only real change I've seen after a year+ of AI tools is this week everything software is failing. In the past six months most of my high-reliability tools have had unprecedented outages and, suspiciously, the kind of detailed explanations and promises past outages have brought are absent.

Meanwhile the tools that are working haven't been delivering much more than the same frequent, "Hey did you start me to update because I'm updating" behavior I hate and none of the features are things I asked for. In fact, part of why I pay for things is they already have everything I want.

2

u/pjmlp 14d ago

If anything, AI coding will reduce the need for regular programming languages, just like high level languages reduced the need to master Assembly other than some niche scenarios.

1

u/cs_legend_93 13d ago

Pretty soon we're going to progress to only machine-readable code because AI is writing it anyway

It'll go full circle

1

u/Artichoke808 8d ago

Talking C# specifically, I think the new features will slow down anyway because it's got most of the bells and whistles. I don't think AI will have a major impact but this is a feeling rather than a particularly educated guess.

-3

u/RlyRlyBigMan 14d ago

I hope so. If I see one more lambda expression or another default constructor I'm gonna start flipping desks until I find the rat responsible for all this bullshit.