If AI Writes All the Code, What Do the Programmers Do?

12 pointsposted 6 hours ago
by ingve

12 Comments

QuantumNoodle

30 minutes ago

It really depends on th SDLC of the codebase. I've sat in the park with a pad and pen and wrote down ideas for a small-ish utility that had both a DB and some low level systems interaction. I designed all the interfaces, control flow, and user facing ui. A decade ago I was designing class diagrams with public and private methods, then coding it up. Today I can articulate it with loose words and have it come to life.

The secrete ingredient here is... Im an experienced programmer, I know what to ask and what to look out for. I know sockets and how devices work under the hood and which knobs are available for me to turn. Juniors just don't have enough experience. The question should really be "what do inspiring programmers do?"

thewhitetulip

21 minutes ago

People loke you're the minority. Most people use the brilliant strategy if "prompt and pray"

Because of AI speed is valued over everything else

jleyank

3 hours ago

Debugging. Lots of debugging. It will be interesting when the researchers look back in 5-10 years to determine which was easier/better - trying to understand generated code vs generating code one understands.

If a functional reasoning layer is added to the current lookup level, “do you want fries with that?” might be in their “doing”. If this doesn’t appear in a timely fashion, de-slopping code will be their lot.

bluefirebrand

18 minutes ago

> It will be interesting when the researchers look back in 5-10 years to determine which was easier/better - trying to understand generated code vs generating code one understands

We don't need to wait 5-10 years, we have plenty of experience with this already! Software devs always want to build their own because building it is way easier than grabbing something someone else built and understanding it!

sturza

an hour ago

Design. And redesign.

Kim_Bruning

an hour ago

and specs, and tests, and smoke tests, and more specs, and updated specs.

And don't forget processes!

luckystarr

8 minutes ago

And reading reports, endlessly.

madikz

5 hours ago

Interesting question. I work on AI for document processing, and I have found the same dynamic: generating a first pass is easy, but the real engineering goes into the verification layer.

madikz

5 hours ago

Edge cases you never think to test: that's where AI output breaks. I deal with this daily in document processing.

sdevonoes

an hour ago

Compilers also write code (they write machine code based on high level langs)… yet nobody asked the same question about them (or did they?)

AI needs to be instructed and then some kind of verification of the output is needed. Programmers do that

datakan

an hour ago

Bad analogy. Compilers don't reason, they don't hallucinate. They take the language as given and "compile" it to the equivalent binary based on strict definitions in the language. It's reproducible and consistent. Saying they write code is factually wrong, at best they translate it.

AI will do the same thing in multiple ways or veer of course and do it another way based on spoken language with no strict syntax. It will make logical leaps, it will guess, it will assume etc.

These things are not equivalent at all.