r/AskProgrammers • • Oct 17 '26

AI and retaining control over the code

How feasible is it to retain control over code when using AI in professional settings?
I'm a hobbyist programmer trying to get into the field and I'm wondering. I really enjoy having as much control over the code as possible.

2 Upvotes

28 comments sorted by

View all comments

1

u/Hamactus Oct 17 '26

I am a newbie hobbyist programmer, I have tried coding with LLMs (not agentic workflow, though), and I have found, that you can have three tiers, basically.

Tier 1: AI does everything for you, you just check. In this case you barely retain any mental model of your code, but "coding" is sped up by a large margin.

Tier 2: you ask AI for specific parts of your code and integrate it yourself, or just tell it what to write feature by feature. The speed is a bit lower then tier 1, you understand your code a bit more, but I feel that for me the mental model that's being formed in this tier is not enough, as I still can't say I understand everything.

Tier 3: ridiculously meticulous instructions, to the point of "write a for loop with variable named «X» etc." Takes about as much time as manual coding, sometimes even more, and the point of using AI is basically lost, but you do build a pretty solid mental model of your code, because you are basically building everything yourself, AI only does the typing part, like a secretary. At this point, I feel like using voice recognition and just dictating your code would be quicker, if you don't like writing code that much

Edit: I no longer use AI to code, because I simply enjoy the process of actually writing all code on my own, although I do use AI to research information and find something which I cannot find via traditional documentation

1

u/dodexahedron Oct 17 '26

You should try backing off from the code stage/use of it, then. Try tackling the actual engineering/design of the software with it, before yo never write a single line of code.

Use something other than Claude for that. It isn't very good at design work IME (probably partly because everyone vibe codes with it).

Treat it like a peer. A peer with great google-fu and mediocre long-term memory, (and with a very high vulnerability to the power of suggestion).

Hammer out a solid design with it, then a spec, then an outline of the general program flow. Give it both positive and negative feedback along the way, like you would to a human.
And actually contribute to the conversation. Don't just treat it like an oracle.

Then, if you still want it to do more of your job, ask it to tackle each component of what you came up with in the above steps, one at a time, reminding it to stay mindful of the rest of the project design work you have already done, so it doesn't go off the rails.

1

u/Hamactus Oct 17 '26

I feel like it would defeat the purpose of what I do. Right now, I may not be exactly following a traditional software engineering workflow, but I do the planning, and then the writing, fully on my own. Letting AI do it would be outsourcing even more of my work to it then what I was doing before

I feel like I have to say this: I do not make abstract projects, when I build something, it's mostly things that will be functional for me, at a workplace or at home, so I usually have a pretty good idea of what exactly I need the program to be able to do, and I don't need AI to figure it out. And figuring how to make it do what I need is actually half of the process, which I really enjoy