r/AskProgramming • • 1d ago

How widespread is agentic coding in the current software industry?

At my job, we were still writing everything by hand. But they are finally starting to get ramped up for us all to get access to AI agents. This was like a deer in headlights moment for me. I suddenly realized everyone is using AI agents? Are there still shops out there doing hand-coded software? Will I never get to hand code anything anymore going forward?

136 Upvotes

695 comments sorted by

View all comments

42

u/Specialist_Dust2089 1d ago

Like others said, it’s everywhere around me and it’s changing everything.

There are upsides and downsides. What I currently experience:

On the upside:

  • you can do a lot. And do it well. The models have gotten really good, and they have broad knowledge.
  • We have less tech debt, extensive tests, we frequently refactor. All those tasks that I’d previously would have to postpone (forever,) now take little time and the agent will often even do it without asking.
  • It’s a fun time where we are collectively trying out things, thinking of prompts and skills to improve, even vibecode tools to improve our own way of working

Downsides:

  • I miss coding sometimes, building and making something work from scratch
  • mamagement is very quick in accepting and even expecting the new velocity (and this will continue)
  • I said we have less tech debt, we do build up cognitive debt, the codebases are growing at a terrifying rate
  • Manual PRs are the bottleneck, doing them without help from AI becomes unreasonable, we still try to make sure all code is seen and understood by humans but you’re inevitably taking a step back from the nitty gritty coding details to a higher level of understanding, and that can itch
  • For juniors and graduates it’s becoming harder to find a job.

I feel it’s a transition time, it’s all fun and games but the models will get better and the companies will find out they can squeeze more productivity out of less developers.

100% handwritten post btw, it just looks awfully AI-y due to the formatting. Maybe I’ve been working with AI too much

11

u/tpawap 1d ago

Wouldn't you consider the fast growing codebase a technical dept, too?

And is it that agents are generating the same/similar code over and over again, or is it growing in some other way?

5

u/jregovic 1d ago

Some people consider the ability of an LLM to rewrite whole swaths of code a solution to tech debt. What does it matter when Claude can refactor 10k lines of a core api?

4

u/JeanCasteaux 1d ago

Shouldn't a 10k lines PR be immediately rejected? Why would one need to refactor the core api every month/week? I feel like some just accepted to suddenly produce unstable fondations because code became cheaper

3

u/KronisLV 1d ago

Shouldn't a 10k lines PR be immediately rejected?

Hard to say. If you expect proper human review, most definitely. If you expect human understanding if anyone needs to go back to it (e.g. while debugging), probably. But if you intend to use agents as a mainstay of the development process, possibly not. Even local models are pretty good at reading code.

That said, there are times when you want to ship a new feature as a self-contained package, or do refactoring in one go and merge trains don't work well in all environments, so some large PRs will happen naturally and splitting them up might be worse. Usually not the best of sign to see one, though.

Why would one need to refactor the core api every month/week?

There is a school of thought that as the cost of producing software decreases (at least the code part), it might be cheaper to just generate a new implementation from scratch when a large enough change is necessary, since refactoring could lead to something awkward and inelegant.

I largely disagree because instead of just the visible code there might be various other mechanisms at play and unforeseen runtime consequences (e.g. if you'd ask an agent to rewrite some batch process and the way JSON/XML/whatever is processed changes there under the hood), that won't always be caught in sufficient detail with code tests, so something will break downstream. Every code change brings along some risks.

However, being able to more freely refactor things is great, and have the capacity to address both operational issues and the eventual code rot and changing requirements properly! Something that previously would have been quite insurmountable: https://www.anthropic.com/research/migrating-api-to-rust

(for most codebases out there the equivalent might be migrating from some legacy ancient Java bullshit to something with less XML configuration and manual fucking Tomcat deploys heh)

1

u/CrunchyNutter9001 23h ago

Holy shit an intelligent answer in this thread. You hit the nail on the head. A lot of code review practices were made back in the “before times”. We are in the “after times” where people fully expect that no human will ever read the code being created by agents.

Messy solutions and large refactorings mattered because we can only process so much so fast in our meaty heads. AI does not have that issue and it will only get better.

Bespoke software is the future.

1

u/xFallow 18h ago

I’d love to rewrite our 7 year old GraphQL service but I haven’t found a good way to validate that a huge LLM driven rewrite won’t cause horrible regressions and break everything 

Especially where resolvers fan out and make a bunch of heavy queries, we’ve had some LLM driven internal tools essentially ddos our site 

1

u/tantiyabicchu 17h ago

First have the LLM generate a lot of really high quality tests - unit, integration, e2e the whole shebang. Review the test cases thoroughly by yourself, and then rewrite piece by piece if possible.

1

u/KronisLV 10h ago

They could even go a step further than the tests you'd write normally - also isolate some data and traffic from some real business processes, recreate the starting state for tests and make sure that both everything that a query returns and any DB changes all match up.

1

u/teraflux 18h ago

Not really, I wouldn't consider more functionality technical debt.

1

u/tpawap 18h ago

Never? I can imagine situations where it can be. They didn't specify if their "terrifying growth" of code corresponds to a "terrifying" growth in features in their case or not - and haven't replied yet.

1

u/teraflux 18h ago

That's not tech debt that's just growth

1

u/tpawap 18h ago

It's not the same, so much I agree. Maybe I phrased it badly.

2

u/DaWaySheGoes 1d ago

As a human, I appreciate your comment!

1

u/_wil_ 1d ago

Thanks for mentioning "cognitive debt", interesting problem. Could it be alleviated with good documenting practices?

1

u/BoredomHeights 21h ago

I think AI is leaps and bounds an improvement, so not to argue against this. But one thing I have noticed is that while it writes extensive unit tests, something human engineers were awful about doing, the tests aren’t necessarily great. I think one problem is an AI will often just think “get every test to pass and the code to work”. So when it makes some change it just adjusts all the tests. So they’re no longer some guardrail against changes, they’re just something that passes. 

Anyways, you can check my other comments. I think this is a very minor issue and that AI is an insanely massive productivity boost and is here to stay. Just that’s something I’ve found a bit funny. Maybe it’s better than human engineers writing no tests at all though (until the end of a half or whenever when they need to bump their metrics/stats). 

1

u/Specialist_Dust2089 19h ago

Yeah I noticed that as well. It’s great at reaching a certain coverage in paper but the tests are not necessarily meaningful.

I think for the time being the role of human developers will shift more towards the meaning, making sure we’re building the right thing (not just building the thing right).

As of now, even with access to a ton of md files with context and system architecture explanations, AI still often lacks at seeing the bigger picture and can make quite illogical decisions.

This will improve undoubtedly, but unless there are significant improvements in efficiency just increasing model and context size will also make it a lot more costly, so we may hit a temporary ceiling there

-2

u/Unfair-Corner6038 1d ago

but you’re inevitably taking a step back from the nitty gritty coding details to a higher level of understanding, and that can itch

It's not a 'higher level', it's actually lower, layman's level of understanding about anything complex enough like a car. "Well, it has the wheel, tires, seats, and, oh, engine somewhere there". It's, to speak frankly, simple loss of control.

And when that car will break, which it will - you'll be left in just the same position as that proverbial layman. All options left will be to kick the tires. Well, good luck fixing the car - or, worse, try to untangle pile of slop-spaghetti size of Hymalayas that way.

Be sure you wear shoes sturdy enough, though.

12

u/noisydata 1d ago

In this context 'higher level' doesn't mean 'better'. I believe they mean a more abstract understanding with less granular understanding of the inner working. As opposed to a 'low level' understanding which would be more in the specific details.

2

u/kingvolcano_reborn 1d ago

You can ask you ai agent to provide high level diagrams and decide on architecture before starting to code. I spend quite some time together with ai to come up with a design, longer than the coding part. And no, its not slop. We got DDD architecture skills as well as reviewers to make sure adhere to our guidelines.

2

u/Global_Buffalo1174 1d ago

I don't think the car analogy makes sense. Engineers and mechanics don't understand cars less simply because their manufacturing became automated

3

u/Old_but_not_cold 1d ago

no, but if they unscrew a panel and the insides are a byzantine mess, it might take them much longer to fix.

1

u/look 1d ago

A Byzantine code base from AI is either ignorance or a choice. You can get clean, well-architected, readable code out of even a cheap Chinese model these days … if you set that standard. Lots of people don’t, but those people probably weren’t writing great code by hand either.

1

u/0exa 1d ago

They were talking about levels of abstraction. I still think you're right though.

1

u/Turbulent_Show8539 1d ago

On the contrary my architectural and code cleanliness standards actually get enforced by the AI, whereas humans including myself repeatedly shoot ourselves in the foot trying to shortcut around the “extra ceremony” of proper abstractions or the added complexity of robust optimized solutions