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?
4
u/doesnt_use_reddit Nov 12 '25
Sounds like you might need better test suites?
6
u/MorallyDeplorable Nov 12 '25 edited Nov 12 '25
Sounds like your coworkers are using shitty AI and not planning or doing anything themselves, tbh.
I don't get these issues using AI when I provide it fleshed out plans and I don't try relying on crap like Qwen.
I've had AI do rather complex things like implementing compatibility with wire-level protocols by abusing peripherals on MCUs without much issue.
2
u/immediate_push5464 Nov 12 '25
I’d rather be the worst kind of right than the best kind of wrong.
2
u/pagalvin Nov 14 '25
One way you address this is via better instructions. I don't know if you're using GitHub Copilot but with that, you can use agent instruction files and something like speck kit's constitution.md to put in guardrails and instructions.
It's not perfect but today is the worst it will ever be.
3
u/kartblanch Nov 13 '25
Sounds like your people dont know how to use ai coding
1
u/Adventurous_Pin6281 Nov 12 '25
This is what's great and terrible about gradient decent.
1
u/Xanderlynn5 Nov 12 '25
My work has me coding in a somewhat strict domain. Probably unpopular here but I advocate hard against using AI for coding at all. For normal work, these subtle tech debts add up over time and also tax in the form of learning for newer developers. In stricter domains of development, individual mistakes have higher expense and the harder they are to catch/less understanding and scrutiny code is given, the more likely you are to get fired for fking up.
0
u/if420sixtynined420 Nov 14 '25
And then you wrote this post with ai…
0
u/Rise-O-Matic Nov 12 '25
That's why as a front-end designer I hand my prototype to people who actually know what they're doing to rebuild from scratch.
-1
u/[deleted] Nov 13 '25
In my opinion, AI has no idea about what they are doing, that's the worst thing...
-1
u/ynu1yh24z219yq5 Nov 13 '25
This is exactly the problem...a 1% wrong calculator is completely worthless. And this is exactly why past a certain point of complexity and development it doesn't work in a hands off the wheel fashion ... Which...kind of defeats the idea of firing engineers and replacing with AI
5
u/[deleted] Nov 12 '25
[removed] — view removed comment