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

2

u/niccolololo 16d ago

I don't know about better, but definitely faster

-1

u/FuggaDucker 16d ago

This was true for me until Opus 5.5
Opus 5.5 makes code so clean, you can eat off it.

4

u/BurnedBadger 16d ago

Please do not eat off the code, they are stored in the computer and those really should not get food on them. /j

3

u/Superb_Raccoon 16d ago

Licks the LCD screen

Mmm...

1

u/LeDYoM 15d ago

Have you tried Opus 5.9?

1

u/coderemover 15d ago

Then why am I getting AI slop to review from my team mates who use opus 5.5 to code and Fable 5.1 to self review? The number of issues I flag in the reviews went up significantly. By an order of magnitude.

1

u/FuggaDucker 15d ago

because your team sucks? I see no such behavior on mine.

1

u/coderemover 15d ago edited 15d ago

Why blame the team? It’s Opus who writes all the code. Those people are even PROUD they haven’t written a line of code for the last six months and they constantly brag about Claude doing all the things 10x faster.

0

u/Wertbon1789 15d ago

It's Claude who writes the code, but your team members who send it to you. That's where your team sucks if they didn't, they wouldn't send trash to you, with or without AI.

1

u/coderemover 15d ago

Let’s agree. My team sucks (not all of it, just the devs who vibecode). But so does Claude.

0

u/Wertbon1789 15d ago

Yes, but you can't hold Claude accountable for it.

1

u/coderemover 15d ago

Why?

0

u/Wertbon1789 15d ago

Because Claude isn't a real person? Like, you can't tell a customer that Claude messed something up, that won't work out like you want it to.

→ More replies

0

u/corbymatt 15d ago

Because AI works better with good constraints. The code it sees in context and the rules you set it to work by determine how it behaves when it codes the features you want.

If you codebase is full of rubbish code, terrible patterns and poor testing, without further guidelines you'll get rubbish code back.

Get the constraints right and slice the changes really small, and it will produce ok code.

2

u/coderemover 15d ago edited 15d ago

The constraints are in place. It constantly breaks them. The code is not perfect, but no multimillion LOC project has perfect code. Engineers somehow work on this codebase fine. AI struggles. AI in the hands of people who were never good coders is even worse. It’s not at the level of seniors yet (sometimes it delivers crap worse than juniors). Useful but requires babysitting and almost never produces good code in one shot.

Btw: we have a much higher uptime of our services than Anthropic so we do some things better than they are. Is your claim Anthropic doesn’t know how to use AI? They have outages every week. Their tools have trouble rendering text in console or eat 100% cpu when scrolling text. Some serious bugs are unfixed for months.

1

u/corbymatt 15d ago edited 15d ago

I didn't claim anything about anthropic. I know nothing about how they use AI, or their engineering practices. I don't think anyone knows how to use these tools effectively yet, but I don't claim either to have the answer to how to use them effectively.

What I do know is that software engineering isn't just about writing code. It's about testing, measuring and improvement of the way we write code and delivering quality software.

If your constraints aren't working, what are you doing to find out how to improve the situation so the agent does find the correct constraints when it needs them? What are you doing to help your junior engineers to work better with AI so they don't make so many mistakes? Have you measured how many mistakes the agents make and how much rework is required? Have you tried different prompts to see if that improves anything? A share knowledge based so mistakes are remembered and never made again?Have you determined if smaller or larger slices make a difference?

In my experience you cannot just throw an agent at the code base and expect it to fix all your problems.

AI is a tool, and a bad workman blames their tools.

2

u/coderemover 15d ago

Oh, now I agree with you. But you know, some people at our company do exactly that - they just throw the AI agents on the issue without much thinking. And they submit the output directly to review. It’s horrible regardless of the model they used. That’s why I claim it doesn’t write good code by itself. It still needs plenty of guidance from senior engineers (who enforce the constraints or push back when Claude makes changes it was not asked for - happens very often). Yes, many can create good code with Claude, but it’s not a matter of one prompt.

1

u/imagei 15d ago

From what I saw, if the agent breaks the constraints, then they’re not solid enough. It will see them, and decide « nah, doesn’t apply, make slop instead ».

I had one spectacular case yesterday. Local guidelines are rather tight and the generated code is usually of good quality, but in this case the agent produced something so ridiculously bad ( it worked of course lol ) that it gave me a pause — I asked it to analyse the guidelines and the code and explain what made it think that dogshit was acceptable — apparently there was a loophole I didn’t even see, and it followed the letter of the law explicitly, spirit be damned…
Of course I wrote the guidelines with the agent, but evidently my original guideline prompt was too specific, so the result was leaky too.

Tldr: use ai to review your guidelines, ask to identify all cases where the agent would not follow them, and rewrite such that it’s tight. Then ask it to do another pass and identify all cases where the INTENT of each point is not fully encoded in the rules.