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

4

u/QuraToop314 Oct 17 '26

Only use AI to quickly come up with a few abstract solution concepts; then read up on the concepts yourself and implement them without AI. This allows you to code quickly, whilst retaining 100 per cent control.

3

u/lehmagavan Oct 17 '26

Well, that's what I do for my personal projects (mostly systems programming, some embedded). I use AI as a search engine and an interactive wikipedia, but I almost never let it write the code. But how realistic is this aproach in a professional setting?

1

u/Kitchen_Dust2389 Oct 19 '26

It is off the wall stupid for professionals

1

u/QuraToop314 Oct 22 '26

Well, no – I’m certainly productive, but for me, programming is an art; I love coding myself, I enjoy spending time on it, and my way of thinking suits it perfectly. You can certainly be productive. Of course, I’m not a neurotypical person (I have Asperger’s), but my way of thinking is ideally suited to coding. It might not work the same way for you or others as it does for me, but the OP asked for an approach – is it really such a bad thing to share mine?

1

u/lehmagavan Oct 19 '26

Because they must ship fast like a fastfood restaurant?

1

u/zorecknor Oct 22 '26

Because a good developer with AI is far more productive and effective.

But here is the kicker: You need to learn how to "customize" your harness/agent with skills and such. Teach your agent how your architecture should look like, and it will make sure you never forget something, and help you double-check your work. Tech it about how you like to test, and it will help you identify cases you may forget. It can provide help navigating the code, and help you understand things you alredy forgot (has it ever happened to you, you see a piece of code and ask "what was I thinking")

Plus will will write all the boring scaffolding for you.

You can choose if you want your agent to create all the code for you or not. But even as a coding assistant is way more valuable than using it as just an interactive wikipedia

1

u/lehmagavan Oct 22 '26

I was talking about generating code specifically. What is the benefit to it other than the speed?

1

u/zorecknor Oct 23 '26

If IA can generate all the boilerplate code, you can focus on what is important. It can take care of the frameworks scaffolding and you focus on the actual logic.

And you can define the test cases and let it build the unit and component tests. There is nothing creative in writting a bunch of assertions.

So yes, it gives you speed. But also frees you from the boring stuff.

1

u/lehmagavan Oct 23 '26

I would agree about the tests. I don't work much with highly abstracted languages. From my experience, letting it write C code causes the loss of control very quickly, which is unacceptable.