r/AskProgrammers • • 13d 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?

217 Upvotes

328 comments sorted by

View all comments

Show parent comments

1

u/No-Consequence-1863 13d ago

More code is still worse. Takes more RAM to run a program with more code, takes more time to load and distribute, takes more time to compile, takes more disk space to store.

Less is always better than more if the same functionality is achieved.

1

u/ImmaturePrune 11d ago

"Takes more RAM to run a program with more code"
No it doesn't. I can write a million line program that only uses a single byte of ram.

Compilation only occurs in certain languages, JIT is just one example of extremely common alternatives.

Again, JIT means no time is added by extra code, only by extra functionality.

Less is *only* better if the same functionality is achieved. If you ship less functionality, you have not provided a better product. This would only be relevant if the 50k LOC is somehow doing less than the 50 LOC - which just isn't going to be the case with the modern standards that LLMs can meet.

1

u/No-Consequence-1863 11d ago

It literally does take more RAM as that code has to be used at some point. You can make argument that a program is just a hot loop it’s code pages will never be pulled, but that is an entirely artificial example and stupid.

Also your JIT doesnt solve it. With more code there is literally more compiling to do at runtime and the JIT cache becomes less useful since more code is stuffed into it. As soon as that code is referenced it is compiled. More code means more chances for cache misses, means more compiling, which means more chance for cache evictions, which means more compiling.

You really should go learn the fundamentals. Less code is always better if you can achieve the same functionality.

1

u/ImmaturePrune 9d ago

You are conflating source code with compiled code, and runtime memory. I guess it's not surprising that someone who makes such fundamental mistakes is going to tell others "You really should go learn the fundamentals"...

So parallelism doesn't decrease run time? That's the inherent assertion in the claim that JIT does not reduce execution time compared to compilation. If that were true, why does JIT even exist in the first place?

Might I suggest that you learn what an array is? I'd hope you already know, seeing as you're telling others to learn the fundamentals, but you clearly do not if you think that more code = more ram....
Seriously, if more code inherently meant more ram then there would be an upper bound to how many lines of code a person can write, limited by the systems memory.... Do you have any idea how stupid that sounds?

1

u/No-Consequence-1863 9d ago

Wow this is such a dumb comment. Believe or not there is a relationship between source code, compiled code, and the runtime memory usage of your app.

But I guess you already outsourced your thinking to Claude.

1

u/ImmaturePrune 8d ago

A relationship, sure. I never denied that.
But I guess you already outsourced your thinking to Claude....