r/ProgrammerHumor • • Oct 19 '26

Meme genAICreatingCode

Post image
2.9k Upvotes

85 comments sorted by

View all comments

131

u/fugogugo Oct 19 '26 • Bravo

smh I already wrote "make no mistake" why do I even need to review them

19

u/Arian-ki Oct 19 '26

Make it pinky promise you, no need for review anymore

8

u/BastetFurry Oct 19 '26

I know "Make no mistake" is a joke, but in all seriousness, the better thing to tell is "Test what you wrote".

30

u/Street-Catch Oct 19 '26

5/27 tests failed...

Thinking....

Deleting tests....

5/5 tests passed...

Ready to ship!

6

u/WrennReddit Oct 19 '26

Even better: write the tests yourself and use proper BDD, then have AI implement. Ideally one at a time just like traditional pair programming.

1

u/MrRandom04 Oct 19 '26

That is how you end up with 70% tests, 30% code or worse with Codex.

1

u/BastetFurry Oct 19 '26

Which isn't a bad thing, at least with an AI buddy that is doing the coding while you steer them.

1

u/MrRandom04 Oct 19 '26

Well yes, until you realize that changing one config somehow broke 8 tests and each git commit spawns a 20 minute test run or the agent proactively decides to run the entire test suite. Overall, these are fixable things but you need to be careful.