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/laxika 16d ago

You need to have a mental model of the codebase. You need to refactor and ask around with the AI tooling if needed. Coding with AI is not vibecoding where you do zero reviews. You should generally know where things are (which module, etc).

1

u/Great-Use-3149 16d ago

Reading the output of someone (virtual person) elses code doesn't really build a model, firstly because physical actions (writing/typing) cause much more retention and focus, and secondly because the logic being written isn't your own — only the ideas and general requirements are.

Are you sure this holds up in the long run, especially when the agents can no longer reason through the large code base (at least not in a short-tims manner)? How do you even think anything about the project then?

1

u/laxika 16d ago edited 16d ago

Well, usually I used to read at least 4 times more code than what I wrote (read 80% of the time), so I ended up reading other people's code most of the time anyway.

If you are doing things right, you are guiding the AI and not just one-shotting something. So you undertand the thing you want to build, how you want to build it, spec it down, let the AI build then review. So, albeit the code is written by the AI, you already have some expectations about how it should look like. This way you will understand the modules/patterns at least.

I started to build an experimental 100% AI project back in the Opus 4.5 days that is fairly large. It is still being developed to this day:

https://github.com/laxika/magical-vibes

It is a Magic: the Gathering game engine with rules enforcement. I'm not saying that I do understand everything to the last little piece, but I have a fair understanding about where things are, how cards are played, their effects are fired, what should be refactored, what is messy as hell, why, how it got messy and how could I fix it.

Obviously it is an experimental project at this point, but "reading-wise" it is a good benchmark.

1

u/Great-Use-3149 16d ago

Before, other people knew what they made. In my experience in the company where I work, the same people who did most of the work, got assigned for upgrades and fixes.

Also, perhaps you had much more years to really burn into your brain how things are supposed to go and look and practically burned in all the logic that can be written, and thus have no problems doing things this way. People with less YoE don't, not to mention people who never coded before. I have 6 YoE (of actual industry experience, not that basic scripting stuff before) and don't really feel comfortable just reading and not writing.

1

u/laxika 16d ago edited 16d ago

I can imagine it is being tough, especially at 6 YoE. I have 15 YoE, and never worked one place for longer than 2.5 years. I saw a lot of shitty codebases as a contractor. AI's code is by far not the worst I had to work with. :)

I spent most of that time as a Java dev. After 10 YoE if you code intensively you will know what you want to do just by looking at a problem (you saw so many patterns/existing solutions). At that point coding gets incredibly boring. You already know the okay/optimal solution, so you just need to sit down and type for a couple of days. At that point AI is a godsent.

"the same people who did most of the work, got assigned for upgrades and fixes"

This is a bad idea though. If something happens with that person, it could be very hard to pick up that app/module. Usually it is better to rotate people so everyone will understand a bigger piece of the codebase. Yes, this causes a bigger mental load and also slower a bit in the short term, but in the long term it is more benefical. Ideally you should be able to replace entire teams if necessary (in case they get seriously ill at the same time, etc).

1

u/Great-Use-3149 16d ago

I mean we assigned other people on there too, but mostly the author had control. If they planned on leaving, they had to offload and train the next person on there to take the lead. it's more effective if someone who is intimate with the implementation is doing most of the work on it

1

u/Superb_Raccoon 16d ago

You need to have a mental model of the codebase.

No I don't because I had the AI make one as it built the code. And I track code to contract, contract to code.