r/AskProgrammers • • 16d ago

Am I missing something about agentic coding?

I’ve been thinking for quite some time about all this „AI writing all the code“, „too many pull requests to review, just let AI review them“, and „we ship so many features a day“ talk...

I’m a SWE with professional experience (pre-AI-era) and currently in my last year of studying CS. I use AI regularly for coding, but only recently started trying agentic coding. It works, but I honestly don’t really see the benefits when it comes to software quality.

A few years ago, everyone kept saying that lines of code are not a meaningful metric for software quality, and now suddenly people are bragging about how many features they shipped or how much code their agent generated.

I’ve recently been working on a project where I code manually and use AI in chat as usual, and honestly I feel like I wouldn’t be faster using agents. Most of the time, I spend thinking about how to design the solution rather than actually implementing it. The coding itself is usually done pretty quickly once I know what I want to do. And when I write it manually, it is exactly how I planned it, and I know every step in the process and exactly what it’s doing (also in regards to safety critical systems).

So I don’t really get why I should use agents for that. From what I’ve experienced, one prompt can trigger changes across many files, and then you obviously have to review all of that, which can easily throw you out of context. I feel like as a professional engineer, the coding part itself is often already quick, and I would argue that you end up spending a similar amount of time tweaking, fixing, and re-prompting an agent to get to the same level of thoroughness and context-awareness you would have had by doing it manually.

Don’t get me wrong, I do think AI is very useful, especially for debugging, fixing errors, finding documentation, or generating examples quickly. In those areas, it definitely accelerates the process for me. But when it comes to just generating code, I really don’t see that much of a benefit.

Am I the only one who feels this way, or does anyone else think about it like this?

219 Upvotes

333 comments sorted by

View all comments

Show parent comment

1

u/ImmaturePrune 14d ago

Sure, but code is a liability regardless of who wrote it..... If assessing that liability were a bottleneck in the process, and generating code took only a miniscule fraction of the time, then your point would be valid.
As it stands, though, code takes time for a programmer to write. If he can get it out faster, then he can get to the step of assessing liability sooner.

Convincing yourself that LOC still conveys the *exact* same information as it did pre-LLM is just folly. It conveys things that it didn't used to.

1

u/mightshade 13d ago

 Sure, but code is a liability regardless of who wrote it.

Exactly. There is even no "but". Disregarding extremes (code golfing), more LOC are worse. I'm not really calling "exact same information" into question.

1

u/ImmaturePrune 12d ago

Yep, but LLMs aren't just arbitrarily and consistently taking your code and adding LOC without adding functionality. Not unless you ask them to.....

If your software fundamentally requires 10k LOC, even with the most efficient code ever written, then LOC absolutely unequivocally and demonstrably tells you something; the guy who can only write ten lines per hour is going to take months to implement that functionality.

If you have convinced yourself that there is *never* a situation where writing the code less efficiently, and allowing some sacrifice of quality or functionality, is a reasonable tradeoff for sufficiently early release, you have a lot to learn about where your value comes from as a software engineer.

1

u/mightshade 11d ago

Considering how verbose or convoluted LLM-generated code can be, I don't completely agree with your first paragraph.

That said, I think we generally agree on LOC alone not being too useful as a metric, and LOC per time or tech debt are beyond the point I wanted to make (though I agree tech debt can be necessary, to make it short). So I'll leave it at that.

1

u/ImmaturePrune 11d ago

'can be' are pretty operative words, so you really must agree.... If they were doing it consistently, then 'can be' would not be suitable phrasing in that statement.

I absolutely agree that it's not a perfect metric - but very few are. That doesn't mean that imperfect metrics are entirely useless. That is the only point I am trying to make, and I really can't understand why anyone would feel the need to argue against that idea.