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 comments

3

u/neppo95 16d ago

Newsflash, people don’t write perfect code either. Arguably more often they screw up.

Peer reviewing exists for a reason, something that hasn’t changed with AI.

2

u/JeanCasteaux 16d ago

Not a valid argument. At least people understand what they've done if they have really done it (or they should do another job really). Understanding is important, it's not about generating "perfect" code on the first try.

2

u/Particular_Ant7977 16d ago

What makes you think AI tools don't understand the code they write?

3

u/RetroGrid_io 16d ago

In a literal sense, AI doesn't "understand" anything. Word prediction aka LLM is becoming good enough that it may not matter.

2

u/Particular_Ant7977 16d ago

What are we but prediction machines, fed by oxygen and calories.

3

u/RetroGrid_io 16d ago

LOL. We have

  • Empathy

  • Conscience

  • Morality

  • Trust

  • Culture

  • Sense of self that observes: "I"

  • Emotions

  • Object permanence

  • Boundaries

  • Desire / Motivation

  • Innovation

  • Direction

  • Meaning

... and we can also make predictions.

2

u/Particular_Ant7977 16d ago

Most of your list has little to do with programming. But to add:

  • we get tired

  • we have bias

  • we make assumptions

  • we are lazy

  • we make mistakes too

If LLM can predict an answer to a human supplied prompt it can also predict consequences of the code it just wrote. Whether that's "understanding" is a matter of debate. This process needs no self-consciousness. When we went to school our "understanding" was being shaped using lookup tables -- take multiplication tables. I know 5x7 is 35, because that's stored somewhere. In a finite set of operations LLM is no worse in principle. It doesn't need to question the meaning of life to make sure it's malloced code won't crash.

2

u/RetroGrid_io 16d ago edited 16d ago

Most of your list has little to do with programming.

Sir, I'll disagree with vehemence here. Things like morality allow us to see and prevent implementing software that is ultimately very destructive. Not that we do, but we can.

For example, AI lacks empathy, so nothing prevents it from doing something destructive. The Internet is rife with memes on this point: AI doing something incredibly destructive like killing you, or your client, then offering an empty apology, and a silly question about what to do about it: "Would you like to tell you how to use CPR to see if your body can be brought back to life?".

There's an ancient trope about how infinite monkeys beating on infinite typewriters for an infinite time will eventually recreate all the works of Shakespeare - and it's true - but who decides when what comes out of the typewriters have value?

That's people. LLMs are just like the monkeys, but improved to produce "plausible" text, but the consideration of the value of it still comes from humanity.

1

u/Particular_Ant7977 15d ago edited 15d ago

This thread is about agentic coding though: human-supervised chunks of code that AI writes and tests according to specification. Reviewed by a human before commits. Humans can lack morality too, that's why we have laws in place. The law in agentic coding is that AI is a controlled tool, not an authoritative entity.

1

u/RetroGrid_io 15d ago

Agreed almost completely.

Reviewed by a human before commits.

I guess I'm carrying an indirect message that "Reviewed by a human" doesn't mean "Rubber-stamped by a human". One of the most common complaints is that there's so much pressure to "move fast" that the human review process is treated like a technicality rather than a legitimate requirement for meeting quality coding standards.

→ More replies (0)

2

u/RFDev 15d ago

I can do predictions, but that's not all my brain does. Would you really compare our brains to lifeless plinko boards? The era of AGI will come, but this is not it.

2

u/Particular_Ant7977 15d ago

In a general sense, no. But in the context of programming we obey to specific algorithms. We make decisions based on data available to us (knowledge, experience).

1

u/Wonderful-Habit-139 14d ago

We have intuition, LLMs don't. And we can think about new ways to do things and since we also feel friction when writing code, we are even more incentivized to write clean code.

And since we actually have reasoning and understanding, we understand how to compose those various building blocks that we have, instead of just having to rely on previously seeing someone else do it.

1

u/Particular_Ant7977 14d ago

In programming, intuition alone seldom leads to deterministic results. It presents hypotheses which are to be tested using facts known to us. LLMs are packed with facts. What I find most useful with LLMs are the crazy fast hypothesis tests using spikes and quick code drafts.

1

u/JeanCasteaux 15d ago

Even if that were true, humans are still the only ones accountable and thus must understand what they are doing. Otherwise you might just as well delete the whole company.

0

u/rafark 16d ago

People who know that they’re doing don’t screw up more often. 

No, reviewing has 100% changed too and a lot people are no longer reviewing code anymore. 

If one person can do the same work as “an army of software engineers” then there is no human that can review all that work in the same amount of time that said work is done. 

If a single person creates several prs today, and then more tomorrow, and the day after, and so on there’s no human reviewer that can keep up

2

u/neppo95 15d ago

Says who? You? Based on your own experience I’m guessing.

People not reviewing the code is their problem. That is not something good, and isn’t the standard at all. As for not being able to review so much, depends entirely on how much that is. You assume it isn’t possible. His words can mean anything, could be 5, could be 100. A few pr’s a day is peanuts, doesn’t take a long time at all. If it does, that is where you are going wrong.

1

u/rafark 15d ago

Exhibit #1  https://www.reddit.com/r/SoftwareEngineerJobs/s/5VzLbowQ9D

No. A lot of people are going fully by the vibes. When the ai changes so much in so little time, a human just cannot keep up with the pace.  People are no longer reading the changes.  

1

u/neppo95 15d ago

Which shows what exactly? Exactly what I said? Yes, thanks for the exhibit.

1

u/rafark 15d ago

No problem buddy. Here’s another one just for you and these are just the ones that are currently in my timeline. This one might be a shitpost tho so idk

https://www.reddit.com/r/vibecoding/comments/1xtbz9b/everyone_is_vibe_coding_even_those_who_claim_not/

1

u/neppo95 15d ago

You realize you are only degrading your point by simply posting reddit links right? For every link you post, I can get you one countering it. It says literally nothing.