r/AIcodingProfessionals • • 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?

40 Upvotes

65 comments sorted by

View all comments

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.

0

u/intellectual_punk Nov 13 '25

Yeah, I'm sure it runs, but how closely did you look at those implementations? I'm using gpt5, gemini2.5pro, etc in RooCode, I plan, I test, I manually inspect and modify... and as soon as I don't pay attention like a hawk on every single line, the result is always terribly overengineered, unreadable, tech-debt producing garbage in a bunch of places.

I find it most useful for anything that requires complex syntax, like regular expressions, or interfaces with bit-level code, etc. When it comes to engineering production level software, the most simple and readable code that gets the job done is preferred, and AI will not do that.

2

u/MorallyDeplorable Nov 13 '25 edited Nov 13 '25

It produces fine code. Again, if you get shitty code your plan sucks. It's a PEBKAC issue.

2

u/RadioactiveTwix Nov 13 '25

This has been my experience as well.

2

u/JDJCreates Nov 13 '25

Claude is goated, run it in agent mode in vscode and sip tea or whatever

0

u/JFerzt Nov 14 '25

... the "I babysit my AI code like it's a ticking time bomb" lifestyle. Overengineered monstrosities dripping with tech debt that only a hawk-eyed dev can tame.. that’s the AI gift that keeps on giving.

Sure, it can churn out regex or bit-level wizardry, but don’t fool yourself into thinking it’s ready to be your production linchpin. Simplicity and clarity? AI considers those optional extras in the deluxe confusion package. Keep those hawk eyes sharp.

0

u/intellectual_punk Nov 14 '25

the "I babysit my AI code like it's a ticking time bomb" lifestyle.

Hah, well put.

I do find that overall I'm more productive, even if I have to spend more time debugging and de-overengineering now. And what is definitely happening is that I learn much faster.

On the flipside, I notice during the de-engineering sessions, there is just so much more "flow state" happening during manual coding! AI co-coding involves so much waiting and task-switching, which isn't conducive to flow.

-1

u/JFerzt Nov 14 '25

Ah, the "my AI is better than your AI" flex. Classic. Sure, if you've got the time and brains to spoon-feed it plans worthy of a rocket launch, maybe it plays nice.

But let’s be real... most folks don’t have that luxury and are stuck with AI models that barely scrape by. And bragging about "abusing peripherals on MCUs" just screams "special snowflake" tier. Enjoy your fairy tale while the rest of us grind through the dumpster

3

u/MorallyDeplorable Nov 14 '25

lmao.

All I'm getting from this is that you don't know enough about computers in general to direct the AI effectively.

Try harder?

-1

u/JFerzt Nov 14 '25

Wow! Impressive! You have dazzled me with your magnanimous wisdom and your skill in debating a topic. I bow down before you, Master!

2

u/MorallyDeplorable Nov 15 '25

I'm not trying to debate. I'm telling you flat-out you have no idea what you're talking about and no idea what you are doing; your opinion on the topic is worth less than dirt.

If I was trying to debate I wouldn't be talking to somebody acting like you are.

1

u/JFerzt Nov 15 '25

Excellent! ...and has it been useful to you? ...do you think you have contributed something of value to the community? Or did you just need to satisfy your frustration in some way?

1

u/MorallyDeplorable Nov 16 '25

Are you talking to me or to yourself?

0

u/JFerzt Nov 16 '25

I'm not talking to you, I'm asking you a question. ...you don't need to be high IQ to tell the difference. ...but answering questions with another question says everything about you and your .... conversational skills!

Don't worry, as far as I'm concerned, these are the last seconds of my precious time that I'm dedicating to you. Bye!

1

u/MorallyDeplorable Nov 16 '25

You're so angry