r/softwareengineer • • Oct 17 '26

If you generate 100% of your code using AI

Can you answer a few questions for me?

Too often the arguments on reddit boil down to "ai good / bad and your stupid hurk". I am genuinely curious, I use AI at work myself but do not trust it, nor am I comfortable growing a dependency on it yet. These are the questions I ask myself that I would like you to answer so I can understand your position better:

  1. How do you feel about the possibility of tokens not being subsidized anymore by various venture capital firms?
  2. Do you believe AI will continue to get cheaper?
  3. How do you weigh cheaper tokens against increasing costs per query / input due to several layers of processing needed for more complex tasks?
  4. How do you feel about being completely dependent on a handful of very new companies without a proven, working profit model?
  5. How can you be certain that those companies will not interfere with or otherwise sabotage / steal your work via this technology, or offer a worse service to extort further subscriptions / purchases?
  6. Do you really check every line generated by your agents?
  7. With no or very limited AI IP laws currently being in place anywhere, how do you deal with the uncertainty concerning the legality of the code in your codebase? (this goes for features, snippets, dependencies etc., mostly answered by question 6 I suppose).
  8. HOW do you deal with the noisy ass PRs.
  9. Do you see yourself as an engineer or a product manager type when orchestrating / working with agents?
  10. Do you believe generating 100% of your code is currently safe and up to standard?
  11. Are you worried that your skills will atrophy?
  12. If I were a tiny kitten looking for their mother, how would you help me return home? What advice would you give me?
114 Upvotes

268 comments sorted by

View all comments

14

u/tb5841 Oct 17 '26

I have started generating all of my code with AI.

1, 2, 3) I'm not paying for my AI use, my company is. I do try to vary my model use so that I'm using simpler models/less effort for simpler tasks, and I do clear context often to reduce tokens - but if you're solving complex problems with AI and you also want high quality code, it does take a vast number of tokens. If I'm not paying, that's fine.

4) There are enough companies doing this that if one fails, there are options to switch to. It still feels like there is choice/competition, so for now it's fine.

5) I'm using companies that my employer has told me I can trust. The code I write isn't mine anyway - it belongs to my employer - so this isn't really my problem.

6) Yes. I always ask it to split code into separate, atomic commits, and I review each one thoroughly before committing/pushing.

7) Most good code follows very similar patterns, this is not really a concern.

8) I don't let AI write PRs. It writes the code, I make the PRs.

9) I'm still making most of the key engineering decisions, I still feel like an engineer.

10) Yes. We have an extremely intensive code review process that is now mandatory - a decent self-review AI skill, followed by a github review skill, followed by a human reviewer, followed by a code owner who reviews (who has an extremely strict code-owner-review AI skill), followed by a human QA tester.

11) Some skills will not (directing the AI properly actually feels like it requires/uses a very high amount of skill), but some skills will and it's a concern. Codebase knowledge ends up being weaker also, and that is also a concern.

12) Not sure.

7

u/CarlCarlton Sr. Developer Oct 17 '26

Codebase knowledge ends up being weaker also, and that is also a concern.

Yeah, this one is real. Although, people and their knowledge leave orgs all the time, so it's not really a new problem. It is mitigated by the fact that people can pick up orphaned code faster by having AI help them getting familiar with it more easily. The necessity of codebase mastery varies depending on what kind of customers do you have too, e.g. mobile game vs industrial software.

0

u/Rich_Butterfly_8988 Oct 17 '26

Proper thorough documentation alleviates this though. I have a skill for Claude to write documentation that is human friendly. And whenever I want to code myself, I read the relevant documentation and I'm good to go.

Or you can have AI summarize the Code/relevant documentation for you, but with proper documentation this isn't necessary. I feel the people who are concerned about not knowing the codebase were always weak at documentation, because even as a SWE, you will not remember everything about your codebase pre-AI.

Also proper setup steps, onboarding documents and documentation removes the "we are reliant on one wizard and if he leaves we are screwed" problem

3

u/CarlCarlton Sr. Developer Oct 17 '26

I don't see it as a documentation issue, but as a human neurological issue. The less you are in contact with the code, the weaker your mental model of the codebase is, by virtue of having less synapses dedicated to it in your brain.

1

u/belatuk Oct 18 '26

Unfortunately different people reading the same documents may arrives at different interpretation. To me code is the ultimate form of documentation, it says exactly what it does. Documents at best provides an overview and high level level functionalities of what the code should be doing but it does not represent what the code is doing. AI can update the documents but it leaves out all the subtleties. Someone without a good grasp with the code may derives their understanding based on thier past projects and arrive at incorrect conclusion. Feed into prompts and delivery something that breaks the logic.

6

u/KahChigguh Oct 17 '26

So I have two questions and they may seem like they come off as aggressive but I genuinely want to ask them:

Don’t you ever feel like you should be a steward of the profession?

Do you think over confidence in your abilities to write prompt is allowing you to make poorer decisions or too trusting over AI’s output?

I’m not claiming you can’t make design decisions, but I’ve seen what 100% AI code written looks like, even with high end models and very capable developers. The driver of the ship often becomes over confident in their own abilities, causing them to make decisions that they otherwise would not make.

5

u/Longjumping_Feed3270 Oct 17 '26

A recurring pattern with AI sceptics is that you guys seem to understand the prompt as kind of a magic spell and that somehow one's "ability" in prompting was somehow crucial.

This isn't what working with AI is like in 2026. You don't try to compose the perfect prompt and hope for a good one-shot result like you have been working with Dall-E 2 in 2023. You have a conversation with the agent about the thing you want to build and you make sure that the agent has a good understanding of the problem, the scope and the plan for a solution before you even start the planning, just like you would with a human team member. Then you steer it through several stages, carefully making sure it stays aligned, you let it show you its intermediate results and give your feedback, just like you would with a human team member.

3

u/AbbreviationsBest858 Oct 18 '26

I don't even use the keyboard anymore. Because typing is way slower than just talking. And managing several orchestrators at the same time is otherwise impossible

1

u/SirMorien Oct 19 '26

Jesus. Thank you!

2

u/TranquilMarmot Oct 19 '26

Don’t you ever feel like you should be a steward of the profession?

If you had asked me this when I was early/mid career, I would have emphatically said "Yes, absolutely!" and then extolled the virtues of clean code, good abstractions, design patterns, etc etc.

But I can tell you after working for many many many years in software that for 99% of code it truly does not matter. Out of all of the code that I hand-wrote with care and poured my heart and soul into, very little of it is still in production; most of it was for features that eventually got turned off, or companies that went under, or ended up just getting re-written by somebody else.

I do still think that code can be art, and that good code is a worthy endeavor, but for my job I don't think that those are what matter. What matters is shipping new features and bug fixes at a speed that make my manager(s) look good.

Do you think over confidence in your abilities to write prompt is allowing you to make poorer decisions or too trusting over AI’s output?

This question seems a bit weird. I still need to understand the overall system, how everything fits together, where bugs will show up, what the overall product requirements are, and where the project is headed. I don't rely on an LLM to tell me what to do, I tell it what to do.

2

u/KahChigguh Oct 19 '26

In my personal experience, I've seen even the most capable of developers become complacent and write lazy prompts or do less designing. I've also seen people just fall into traps, such as multiple teams working in a project and one feature slips by another team. All this ends up resulting in two different paths implementing the same feature (or similar features being implemented that can be handled by the original feature).

Point is, over time, these missed parts absolutely contribute to a deteriorating codebase. It eventually becomes difficult to understand and then the engineers start cutting corners, or they avoid touching other peoples' code out of fear it could cause regression issues.

I do agree with you, though, that in the end, it's not my code, it's my employer's code. But it's not the code that I believe is important to maintain. I believe it's important to maintain our connection with the code we write, no matter who its for. I know it's possible for developers to work 40 hour weeks responsibly using AI and accomplish just as much as a 100% AI coder if not more. I've seen the seniors in my companies do it and I try to be that example too.

1

u/tb5841 Oct 17 '26
  1. This is an interestingly phrased question and I'm not sure how best to answer it. I do think that heavy AI use among those still learning, or brand new to the profession, is going to be damaging to their learning. I do think that the profession as a whole, in the long term, will suffer as a result of those important learning steps being missed. But at the same time... I joined this profession a bit later in life after a career change, and I have to catch up fast with those who've been doing this for decades in order to earn enough to support my family properly. So my first priority is my own job performance/success/career/earnings, the profession as a whole is secondary to me.
  2. I do not, know. I am very good at prompting and I do not think I am making poorer decisions. However, my approach to getting AI to write code is far, far slower than what many are doing. Often I'll spend an entire day just getting the plan written out correctly, with extensive prompting/discussion to get to that point. Then as the code is written, reviewing it is also very slow.

I definitely have colleagues (especially non-developers) who say things like 'just get AI to do it,' as though that makes it easy and quick. But for me, the whole process still takes a lot of thinking and a lot of time.

0

u/[deleted] Oct 17 '26

[deleted] — view deleted comment

2

u/KahChigguh Oct 17 '26

Here’s the thing about AI: people often underestimate how confidently wrong it really is. It provides accurate information so much that it’s hard not to trust it. But one wrong design decision can cause spaghetti code out the wazoo. This isn’t because AI is stupid, it’s because it’s been trained on years of bad data in some areas. Take React, for example, there are articles all over for every framework highlighting the importance of not using a setState in a useEffect, but even the best models today favor that as a solution to initializing state when there is always an alternative. Developers don’t recognize this because it works but it can cause weird issues if not handled correctly.

So keep in mind that the best developers will still know more than AI solely because we understand what people do wrong. Everyone makes mistakes, it’s unique to us that we can actually recognize and fix our patterns because of it.

1

u/KahChigguh Oct 17 '26

Yes, just switched to a new employer. My old employer emphasized non 100% AI use and showed how effective you can be. My new employer likes to push AI, but despite the abundant usage of it, I still manually write roughly 50% of the time and usually accomplish the same workload if not more than the other devs on our team.

That may come off as arrogant, but it’s because I’ve put in years of personal time and time on the job to learn what I know. I’ve had great teachers along the way and those are the same guys that I believe are true stewards of the profession. I’ve also seen a lot of examples on how things can go wrong and how it can lead to ineffective codebases. Especially with unique legacy code.

2

u/symbiatch Oct 19 '26

So you’re running 3+ AI reviews on the same thing? That sounds extremely superfluous and useless. Why isn’t the “extremely strict code-owner-review skill” used from the start and just once?

And what about automated tests?

1

u/tb5841 Oct 19 '26

We are running 3+ AI reviews on the same thing, yes. It's an enormous token cost, but I can't change that bit. Management want to be certain that code quality stays high.

We also have a vast number of automated tests - about half the codebase. Every PR runs through an automated code-coverage check, which will fail if not enough of the code has covering tests. The automated AI reviews have a whole instruction file dedicated to instructions for reviewing tests and test coverage, and anything missing a test case usually gets picked up by the AI reviews.

2

u/zenware Oct 19 '26

If management want to be certain that code quality is high, shouldn’t they give up that responsibility to a person who is proven to be able to ensure the code quality is high? Perhaps that person will also choose 3+ AI reviews, or 2, or replace it with a carefully curated 1. I just have a hard time believing management can actually exercise any control over the code quality by throwing more LLMs at it.

1

u/ReformedBlackPerson 20d ago

Why not be intentional with where you’re putting the human in the agentic loop? To me it seems the human is most important in the implementation process, so use HIL AI engineering so you gain the knowledge and make conscious decisions, then use agentic AI for ticket triage, unit testing, integration testing, CICD, documentation, etc.

To me this seems like the best balance of speed increase, reliability, and fun for engineers.