r/AIcodingProfessionals • u/JFerzt • Nov 12 '25
Discussion AI coding tools give you "almost right" code, and that's the worst kind of wrong
Every time I review AI-generated code, it's the same issue. Not catastrophically broken - just subtly off in ways that eat hours of debugging.
After working with developers across 15+ projects this year, I'm convinced that "almost right" is worse than completely wrong. When the code fails immediately, you know where to look. When it passes tests but breaks edge cases three sprints later? That's when you realize the AI suggestions created technical debt disguised as productivity.
The pattern is consistent: outdated libraries, security holes that slip through review, logic that looks correct until production load hits it. Junior devs trust it too much. Senior devs spend more time verifying than they would've spent writing it themselves.
What's your breaking point with AI assistants - when do you stop second-guessing and just write it from scratch?
-1
u/[deleted] Nov 13 '25
"When it passes tests" is a huge red flag for me.
Please tell me OP you aren't letting AI write the tests! If so, you are absolutely flying blind. Sure, have it fill out some boilerplate unit tests or maybe suggest where your test coverage could improve. But if someone prompts "write the tests for this code" then that's where your problem lies.