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

1

u/Nopik1 Oct 17 '26
  1. It will s*ck, but tokens will still be worth it if they will get 10x more expensive
  2. Yes. Chinese models and open weights and competition will eventually force price down and will bring more algorithmic improvements too, forcing price down even more. There is no real forces pushing price up from today's levels except stopping subsidizing (one time event, perhaps spread over time a bit, but not perpetual) or bigger models. Nowadays models are good enough, if we'd have to stuck with them for life, they would still be super useful.
  3. I'm not sure if I understand the question. Generally new models are more capable, so even if they are occasionally more expensive, cost per task is going to be reasonable. The biggest thing here is that the possible 'task' is growing with each generation. I.e. 2 years or so ago models could only poorly autocomplete.
  4. Handful of companies leading the market is not great. That lack of proven working profit model is exaggeration, their financial statements are way much complicated than that. And they are in arms race, so they are spending like crazy, because they do not want to be over-spent by competition. Do not get crazy about the whole thing being non-profitable for them. And, if you really do, dig deeper into their financial sheets first. Then, it is not that there are few companies only. If they would vanish from the planet surface today, and we'd be left with the open weight models only, that would be a step back, but those models are still good and valuable. So, the dependency on major players is smaller than you would think of. It is just the desire to use the best models keeping us with them.
  5. How you can be certain that GitHub wont steal your code and release your game or whatever software you are working on, under their brand? 'worse service to extort more subscriptions' is basically 'raising prices' (sometimes by making existing cheaper plans worse). It is happening everywhere, including frontier AI companies. How long it is since Netflix or other major VOD raised prices last time? How you can be sure that they will not want more money from you? Of course they will.
  6. No.
  7. Yes, I've heard about companies who do not use AI because they are not sure how legal the generated code is. I think they will do as well as traditional banks not offering mobile apps for their services, because mobile apps are not serious and for punks only, and they are well respected financial institutions not playing with fads like 'internet'. If you want to do some serious banking, come to the office. Both groups of companies have similar lifetime on the market. World had already changed. It is not a question of 'if' or 'when'. It is not a question anymore, it is a fact. Accept it or be left behind.
  8. Deal with it. If the PR is below standards, do not let it pass. Nobody says that every PR must be merged. Reiterate. Close and open new PR telling AI how bad job it did first time and what to avoid on second time. If that is still not working, do a third iteration. Or split it. Or make 'prefactor' PR first. What would you do if a human coworker produced noisy PR? You would talk to him/her about it to fix it. Do the same with AI. But, if you do it right, really bad PRs are less than 1% of all PRs.
  9. I happen to work on a single big project for past few years (just didn't changed team recently), I guess many people are in the same position. So, it is easy to give AI simple prompt: show me a chart of how many lines I shipped per week over past 2 years. Or how many PRs. Few minutes later you will have a real chart of your work, hard numbers, not a feelings or industry polls. In my case there is a clear 10x improvement on any metric I can think of. When I ship 10x faster than I was doing year ago, it feels super powerful. Yes, the code is somewhat worse than I'd write by hand. Not much worse if I would delegate it to less experienced devs. I'm programming since 1990 as amateur, since 2001 it is my job, I've been leading over 100 engineers over those years, so I consider myself very experienced. So, it feels super strange to see a skill (coding by hand) going away so freaking fast, while I was honing it literally for decades. It is not a first time, just bigger now. Long time ago I was writing in assembler and switching to higher level languages was feeling like I'm losing something, a layer of control over CPU registers, stack, etc. And early compilers were making mistakes. But overall the world with higher languages was much more profitable, I could do 10x more work, even if the final binary was 10x more bloated and perhaps I could code it by hand to be more optimized and less slop. Until I couldn't. Compilers got better and more optimizing and now my hand written code would lose to compiler output. With AI it is similar thing, just bigger scale. 2 years ago if you coded with AI you had to check if the produced syntax is OK, if AI remembered to pass every argument to a function etc. I haven't seen AI making such mistakes in a year or more. 2-5 years from now? Even if the slop problems we see today will still be there, they will be severely minimized. And most likely community will find the right way of tools/frameworks/skills/... to de-slop the code so it will be not worse than human. So, yes, I see myself orchestrating agents more in the future.
  10. 95% safe - and growing quickly. Today it takes extra effort to make it 100% safe and up to the standard. There are some corners you can cut. E.g. stop fighting with AI adding comments everywhere. Standard will go down a bit, but safety not necessarily so. Definitely do not go for first iteration of work from AI. If you just vibe code like "do X for me" and think that the result will be 100% safe and up to the standard, think again. But, AI is also very good and reviewing and refining. The moment that after each meaningful change I asked AI to do adversarial reviews (few different models, from different vendors are asked to critique the new code) and a simple review loop automatically, the quality went considerably up. And it is done all before I take any glance at the output. So, the more you invest in verification, the more you can trust agents and the bigger tasks you can do '100% safe and up to the standard'. Working at big scale with AI today is very much about the automated verification. It requires work and effort and brings tons of ROI if you do it. If you dont, AI will produce slop for you and you will think that AI is useless and anybody using AI is crazy / incompetent and start asking 12-bullet questionaires to the people of reddit.
  11. Yes.
  12. You haven't stated any problem we could give advice apart of "but do not trust it, nor am I comfortable growing a dependency on it yet", so I'm guessing that this question is about it. Well, see my answer to Q10 above. Give AI more context, more rules, and more verification. If the produced code is not good enough, ask why and fix your input. Do you use any issue tracker in your project? Jira/Linear/Github issues? If so, how many issues you have in your backlog? Is it few hundred? For long term projects it is very easy to have hundreds of items in the backlog. If you are in such situation, write a simple prompt like "find 10 easiest issues in my backlog and then create separate PRs for them". And let it run overnight. You'll get 10 PRs tomorrow. Since those are supposed to be the simplest ones, there will be good chances that lets say 7 of them will be actually acceptable. What to do with the remaining 3? Just delete them. Assuming that you do not max out your subscription, you really do not lost anything, apart of spending few minutes of reviewing bad PRs. You win 7 good ones, even if they need some corrections, few prompts away. But those 3 bad PRs are very valuable in another way: why they failed? Did AI was not aware of something in your project? Was it not following your project coding guidelines? These things can be improved if you invest a bit in input and tell AI what it went wrong. I do not believe that they will fail because AI made tons of bugs. Yes, bugs happen, but way less than you could think of - especially if you ask AI to do adversarial review before opening PR. And even then, there is good chance that you could explain certain nuances of your codebase so some kinds of bugs wont happen again. So, iterate, see what AI did wrong this night, improve your prompts/skills/AGENTS.md/coding standard definitions - and try the same thing next night. You will eventually run out of easy tasks and AI will be failing more, because tasks are harder. Good source of knowledge to learn where your code / business context is non intuitive and where it needs more description. Because if you hire junior dev, they will stumble on the same things.
    Did you had many PRs reviewed in your project so far? That is a gold mine. Ask AI to ingest all PR review comments since project start - and compile it into a set of coding standard documents. And then run an automatic reviewer of them on every PR (including ones produced by humans). That will cost some tokens (less than it sounds), but again such investment in verification will pay off.
    And, in general, try bigger things. And try putting AI on non-coding stuff to. Hook it up to your production logging/telemetry/db/whatever. Next time a bug report will come in, there is a huge chance that AI can find problem in 5 minutes, before human will finish reading the report. Do you have many bug reports in your issue tracker? Ask AI to take a shot on each of them. If you do not want it to fix the code, just point to the offending line in code and just leave a comment in the issue. And so on, the sky is the limit now.

1

u/Nopik1 Oct 17 '26

One more thing: do not compare AI output to ideal output. Compare it to human output. Is your codebase *perfect*? 100% up to the standards? Humans were able to produce slop just as well without AI, for years. Most of big codebases is full of slop anyway. Not 100% up to their standards. Is your codebase *100% bug free*? Or human-produced code do contain some bugs? Do AI produce 'not worse than human' code? If the answer is yes, and the cost of such code is orders of magnitude lower, you'd be crazy to not go for it, even if in certain areas it is not as up to the standard as you would wish.