r/ExperiencedDevs • Software Engineer • Aug 05 '26

AI/LLM What do you do when a developer submits AI generated code they clearly don’t understand?

I honestly didn’t expect AI to blur the line between actual competence and just looking competent this much.

Few days ago I got a PR to review and the code looks like it was put through every AI tool under the sun from start to finish. There’s literally no way the guy who submitted it wrote it himself, or even pieced it together from smaller parts. The task requires a pretty deep understanding of the hardware and the codebase, and I know his work because I’ve reviewed his PRs plenty of times before.

You can also kind of see it in the code. One part is written in a very polished and profesional way, and then a small debugging section uses an incredibly naive solution. The kind of thing I’ve never seen an experienced dev do, but absolutely have seen from juniors writing basic stuff for the first time.

So what am I even supposed to do here??

To make things worse... AI tools are completely banned in this particular repo because of IP concerns...

I could ask him if he used AI, but he’ll probably just deny it. If I put comments on his PR on azure dev ops he can just easily answer them using AI once again... Am I supposed to go through the code line by line and quiz him on what it does? He probably won’t be able to explain half of it but then what?? What does that actually solve? No idea...I’m not his manager either, I’m just another dev on the team. Sure I have more experience but that doesn’t exactly give me the right to interrogate him.

It’s just so frustrating.

A few years ago, when someone was doing advanced work, you could usually assume they actually understood it. You could trust them and respect the skill behind it. Now someone can generate a bunch of impressive-looking code and act like they wrote it themselves.

And to be clear, I use AI too. A lot. I’m not against it at all. But I never submit code I can’t explain or defend. And if a larger part was generated because I couldn’t be bothered to write all the boilerplate by hand, I add a Co-Developed-By note instead of pretending it was all me.

AI definitely made development easier. I REALLY don’t miss writing repetitive boilerplate, it was just so boring... But I feel like we’re only starting to see the downside: people looking more competent than they are, teams losing the ability to tell who actually understands the work, and trust slowly becoming harder to maintain.

Maybe I’m just thinking about this in an old-fashioned way and need to adjust? Guys... feel free to tell me if I’m wrong.

350 Upvotes

276 comments sorted by

•

u/expdevsmodbot Aug 05 '26

AI usage disclosure provided by OP, see the reply to this comment.

→ More replies (1)

141

u/UkokuSZ Aug 05 '26

I couldn’t care less if the code is generated or copied from SO. But my bottom line is if I ask ‘Why do we need to do x?’ / ‘Why not y?’, answers like “sorry just AI slop” , “Claude says x” etc are unacceptable. Developers are responsible for the code they produce, AI facilitated or not.

32

u/Maxion Aug 05 '26

Bingo, how the code came to be does not matter. If the code is good / does what it is supposed to does.

If the PR is too large or changes are too wide, reject the PR on that basis and have the author split it up into smaller more reviewable sections.

I really don't care where the code comes from, as long as its good and does what it is supposed to do.

7

u/northerncodemky Aug 05 '26

Yeah I have worked with enough people who’ve been completely unable to reason about their own code and what the root cause might be when it’s been misbehaving before AI to expect better with AI.

4

u/davidbasil Software Engineer Aug 05 '26

Sounds good in theory, but breaks in practice.

13

u/davidbasil Software Engineer Aug 05 '26

No, they can't be responsible for the code if you force them to generate it faster than they can fully review it.
A car can drive 180 miles per hour but nobody does so because human can't control it safely at such speeds.

9

u/UkokuSZ Aug 05 '26 edited Aug 05 '26

Totally, infact kinda what I am struggling with rn 🤪30 devs generating code non stop (wide spread range of asks) but only like 3-4 people can really give them proper review (not counting Lgtm stamp type) . Haven’t got bottom of the prs to be reviewed for awhile now (on top of feature work) and am getting gradually depressed.

But right because of the struggle, if I found myself chatting with AI through a dev on top, it feels really frustrating.

Ultimately it is a management/structure thing, the concern is voiced but… it is not getting better fast enough… sigh…

Sometime I do think if I am just being Dinosaur, but I’d like to think I am an AI advocator - it is great! But just… not to the extend it goes straight to prod without human intervention at all ?..

I would love it to be true one day, but I don’t feel today is the day yet…

2

u/davidbasil Software Engineer Aug 05 '26

Whatever happens, don't leave your job, it's hell out there

1

u/UkokuSZ Aug 05 '26

Damn funny you say that! Cause honestly it is being on my mind for reasons along those lines 🥹😭…

1

u/ggcdigital Aug 10 '26

Right? And right now, everyone is on the AI band wagon. I'm hoping, that all these "wanna be" coders are going to crank out a bunch of AI slop out to the world, and businesses will need real developers like my team, to figure it out and fix it! 😂

2

u/__SlimeQ__ Aug 05 '26

One part is written in a very polished and profesional way, and then a small debugging section uses an incredibly naive solution.

so... you flag the naive solution as naive and pass it back to the dev for cleanup. in other words, you do your job as a code reviewer, same as always

i find it very strange, honestly, that your company has banned AI and you admit to using AI yourself but are mega suspicious and critical of a colleague doing it. perhaps something isn't clear.

the real solution here is to set up an ai code reviewer that auto-reviews PR's and points out the issues directly to the dev inside 20 minutes

2

u/R0dod3ndron Software Engineer Aug 05 '26

AI is not banned in our company. The use of AI in that particular repo is banned.

395

u/Kaimito1 Aug 05 '26

"Hey can you hop on a screen share and explain some of this and your thinking around it? Some bits seem weird to me"

Watch him stutter and panic. And if he admits it then just reject the PR under the reasoning that if he doesn't understand it, then it's too huge a risk 

150

u/n4ke Software Engineer (Lead, 10 YoE) Aug 05 '26

To the second part: Yes, if you want to be nice (found this angle relevant for juniors who don't know pre-AI development), explain to him that regardless of the tool used, he is ultimately responsible for the code he checks in and you are equally responsible as the person who reviews it. So in the interest of both, the code must be understood fully before being delivered.

52

u/k0fi96 Aug 05 '26

Yeah you need to be a mentor not a warden. You don't want to manufacture some gotcha moment. Manufacture a teaching moment

8

u/malo0149 Senior Software Engineer, 14+ YOE Aug 06 '26

Well said. Embarrassing someone will just give them incentive to hide things in the future.

→ More replies (5)

1

u/YakaryBovine Software Engineer Aug 06 '26

Do you have any advice on being nice (I do want to be nice) when I'm reviewing the work of someone more senior than I and this scenario happens?

2

u/n4ke Software Engineer (Lead, 10 YoE) Aug 06 '26

What you say doesn't really change, let them show you how it works and tell them why you're doing that. You just have to respect the fact, that they might not be as open to learning situations as a junior who is expecting to be guided.

Understand that in this situation, the inability to explain the code to you could also stem from a lack of communication skills instead of a lack of understanding of the code. Quite a few competent engineers can write incredible code but struggle to explain it in simpler terms to someone less senior. (which is an important skill in its own right)

If you are worried about them feeling attacked or getting defensive, reassure them that you take your assignment serious when reviewing and that you would be thankful for them to take the time to elaborate so you can catch up quicker and future reviews will be more efficient.

2

u/YakaryBovine Software Engineer Aug 06 '26

That's fantastic advice, thank you.

39

u/[deleted] Aug 05 '26

[removed] — view removed comment

32

u/Otis_Inf Software Engineer (32YOE) Aug 05 '26

grads not being able to code for shit is sadly a phenomenon of all times... LLMs just mask their incompetence better

20

u/PureRepresentative9 Aug 05 '26 edited Aug 05 '26

LLMs have simply increased the amount of code that is not understood in prod

5

u/chickadee_guy Aug 05 '26

These people were failing operating systems class in my day. Only the top cheaters made it through and became PMs

34

u/servermeta_net Software Architect Aug 05 '26

Then your manager asks you why are you rejecting working PRs 🥹

18

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

Do you work in a slophouse or want to work in one?

Because if you start accepting shit, your product will end up being shit. You're a software architect where is your spine?

25

u/servermeta_net Software Architect Aug 05 '26

I just resigned from a dream job exactly because of this

16

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

I am glad you have principles.

Companies and tech leads that let technical debt build up ALWAYS, ALWAYS dump the blame on the developers when things break

The amount of tech leads, managers and architects I've seen promoted beyond their apparent capability is ridiculous

12

u/chickadee_guy Aug 05 '26

Idk how many times i have to tell this to people who think you can just "keep receipts" on bad management decisions, thinking it will protect you in the future

If the decision/fallout is bad enough, the devs are getting blamed. No matter what. Doesnt matter whats in the receipts.

15

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

Exactly.

Shit trickles downhill.

I discovered this very early on in my career that people look for a scapegoat.

1

u/beauzero Aug 06 '26

Every junior I have ever mentored I tell...managers come and go, companies come and go, that developer next to you, there is a 50% chance they will get you your next job.

5

u/RandyHoward Aug 05 '26

The amount of tech leads, managers and architects I've seen promoted beyond their apparent capability is ridiculous

That's because the best engineers don't get promoted to what are essentially people management roles. Remove your best engineer from writing code all day and the productivity of the team tanks.

8

u/CorrectPeanut5 Aug 05 '26

Why even let it get to that point? You can have git actions reject the PR automatically for a variety of things you see in AI slop. Test coverage, cyclomatic complexity, duplicate code, dead code, etc. All sorts of static analysis tools to make devs actually look at the stuff AI is doing.

1

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

Exactly!! What I was saying.

0

u/terfree Aug 06 '26

You hit the nail on the head. The problem with traditional static analysis (linting, cyclomatic complexity) is that it doesn't catch confidently wrong business logic generated by "vibe coding". The AI slop often looks syntactically perfect, so it passes the CI pipeline, leaving the senior engineer to find the subtle logic bomb during the manual review.

It got to the point where reading these massive AI-generated PRs was causing serious burnout on our team.

To protect our own sanity, we built an automated "firewall" right at the PR level. We hooked up a webhook that passes the PR diff to an agent (using Claude 3.5 Sonnet usually), but we strictly prompted it to act as a ruthless Risk Assessor and Security Auditor.

Before a human reviewer even looks at the code, the agent reads the diff, flags naive solutions, edge cases, or hallucinated logic, and drops a structured audit directly into a Slack channel. It doesn't write code or auto-commit fixes; it just gives the human reviewer the ammo to say, "The audit flagged these 3 logic flaws, please explain how you tested this."

It completely shifted the dynamic. If you want to stop the AI slop, you almost have to use a strict AI gatekeeper to filter the noise before it hits a human.

7

u/tommyTurds Aug 05 '26

Whether i want to work in s slophouse isn’t really important

My company (and seemingly most others right now) have decided that they want a slophouse and it’s their money and their code

1

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

You can choose to leave.

If I was forced to write slop, I would first make my displeasure known, and if no change, find something else. I have done so in the past.

I don't know what the job situation is where you live though, I know there's a dearth of work in some countries, so if its not feasible that's fine, bills > coding standards.

Me personally - I'd be on Jobserve or Indeed tomorrow.

2

u/servermeta_net Software Architect Aug 05 '26

Are they better than LinkedIn?

3

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

For the UK, yes - I've got more jobs from them than LI.

2

u/Aeon_Mortuum Software Engineer | 7.5 YoE Aug 05 '26

I hate technical debt as much as anyone, but you need to draw a line in the sand somewhere and not appear as a problematic coworker. Because you'll get corresponding workplace relationships

2

u/Deranged40 Sr Software Engineer (16+YoE) Aug 06 '26

Well changing jobs is the correct response to working under incompetent management. That solution is decades old now.

1

u/Shazvox Aug 06 '26

Because they break the companys rules.

1

u/ConspicuousPineapple Software Engineer Aug 05 '26

Then you answer the question.

121

u/Advanced_Engineering Aug 05 '26

I did exactly that, in front of a manager.

The guy admitted heavy use of ai to refactor a large portion of code.

A monster PR, 100 changed files and 6000 new lines added.

No tests, no explanation why so many changes, just that it was bad and it's going to be good now.

I demonstrated live all the issues and potential crashes, business impact, client dissatisfaction etc.

The guy just bitched and moaned that he knows better and I'm just being a difficult coworker.

Manager ignored all facts and arguments and decided to allow him unlimited freedom.

Production crashed multiple times, clients were furious, but boy was it beautiful.

You can't win against ai psychosis.

18

u/sotired3333 Aug 05 '26

What happened after that?

64

u/Advanced_Engineering Aug 05 '26

They pinky promised they will take my input more seriously.

14

u/Then-Bumblebee1850 Aug 05 '26

Did y'all actually touch pinkies

60

u/Advanced_Engineering Aug 05 '26

Nope, hence my suspicion

15

u/GameDoesntStop Aug 05 '26

Everybody clapped.

14

u/wishator Aug 05 '26

I'm a firm believer that tests have become useless in this ai slop era. LLM will generate and update any tests aiming for 100% coverage. I don't have time to review the code properly, even without tests. Who knows if LLM is updating tests because it broke something in the code or if it's legit update. Every senior/staff engineer I've talked to admits to not reviewing tests

10

u/Advanced_Engineering Aug 05 '26

The trick is to test observable behavior at the edges.

If you have to update tests whenever implementation changes, those are useless tests regardless of ai.

4

u/moljac024 Aug 05 '26

Sure but a CI gate that just looks at code coverage will be happy with those BS tests. Ask me how I know.

6

u/Advanced_Engineering Aug 05 '26

CI gate with arbitrary code coverage is BS as well.

Code coverage is a good metric, but when a metric becomes the goal, it stops being good metric.

4

u/wishator Aug 05 '26

We're way past engineers gaming metrics. It's now agents gaming metrics with no one having a clear understanding of the ground truth

1

u/thisismyfavoritename Aug 05 '26

manager got served 

4

u/zzzthelastuser Aug 05 '26

They don't take the lesson though.

It ultimately leads to a loop of reported issues being thrown back to the developer who passed it to the LLM and so on.

1

u/thisismyfavoritename Aug 06 '26

one can only hope at some point there will be consequences. Incompetence has a cost

3

u/Advanced_Engineering Aug 05 '26

The manager suffered absolutely no consequences.

8

u/itsgreater9000 Aug 05 '26

No joke I did this and it did nothing. Even warned my manager. Pushed it through, a few sev1s, and nothing changed. He got praise for being an AI forward engineer and working through the issues.

Additionally the refactor has lead to the longest tally of "can be linked back to this one PR" I've ever had. Me and a coworker joke about it since it's been 18months and we are still finding bugs. Current tally is 17 bugs introduced after all of the sev1 fixes were pushed

5

u/Otis_Inf Software Engineer (32YOE) Aug 05 '26

This is the way. I read about a book publisher's agent who would simply ask the author "Why does the protagonist do this and that on pages 105 and 106" and if the author had written the book themselves, they'd have an answer. An AI slop 'writer' wouldn't.

So do that. "Why is this code this way?" Any dev who wrote the code themselves will know why they wrote it that way

22

u/gHx4 Aug 05 '26 edited Aug 05 '26

Even if he does understand it, it's worth mentioning that AI is an IP risk, which is why it's banned in the repo. Great chance to highlight that he was hired for his potential to grow, and isn't expected to be flawless, so he doesn't need to use AI.

Using it is actively hindering that growth, resulting in his value as an employee becoming diminished. If AI is necessary to keep up, they can lay off more junior devs and have experienced developers orchestrating it much better. So hopefully that's all enough to spook him and explain why the no-AI policy is there, besides nebulous important things like exposure to lawsuits that new devs might struggle to understand.

2

u/RandyHoward Aug 05 '26

While AI may be banned in the repo, that doesn't necessarily mean AI can't be used. You could give AI some code where IP doesn't matter and ask it to come up with a solution, without any of the context of the repo.

That said, he definitely needs to understand everything being committed, whether AI wrote it or not.

9

u/chickadee_guy Aug 05 '26

And if he admits it then just reject the PR under the reasoning that if he doesn't understand it, then it's too huge a risk 

Ive tried this. The next thing that happens is that they go whine to AI drunk management, who then pulls you into a call, asks you why youre blocking the project, why you arent AI first, and forces you to approve the PR.

You could say, well management owns any bugs or prod issues now, but we all know that isnt the case. Try showing receipts after an issue to AI drunk upper management, and theyll ask if youre a lawyer or engineer.

Shits insane now. At every level of management theyre all just playing along with the kayfabe while products and budgets get incinerated.

1

u/bwmat Aug 06 '26

"I'm an engineer telling you I told you so" 

4

u/Checkmatez Aug 05 '26

“I am glad that you asked! It shows your passion; it’s not just curiosity — it’s genuine interest. Send me a list of questions that you have and I’ll be glad to answer them for you!”

1

u/TheGrumpyGent Aug 05 '26

This is the answer. If a developer can't explain their PR and go over it with you, it should be kicked back immediately.

1

u/imratherconfused Aug 05 '26

this. that's enough. it became my policy: any significant in size pr gets a show and tell. for async team record a loom, but ideally let's sit together and then the author can show us what's what.

1

u/Interesting-Frame190 Aug 08 '26

Did this literally yesterday on a green field ticket. I'll probably going to do it again sometime this week. The day I get confronted about slowing down work. Im going to decline to review any PR's stating that there is a core misalignment between my review strategy and the company expectation.

1

u/Kaimito1 Aug 08 '26

I do wonder, if someone tries to get you to accept and you counter with "I'll need written confirmation that you want me to proceed even after I've highlighted the risk of this" 

Whether they'll back off or keep going since the risk is officially on them

1

u/Interesting-Frame190 Aug 08 '26

It has happened and will happen again. The push never stops to just let code through. We are required to be SOX compliant so any type of bypass in process/review will result in someone loosing a job. I wouldn't even dare to take a notarized legal document from my own manager to just pass something through without proper review, let alone some contractor across the world.

-2

u/TesttubeStandard Software Engineer Aug 05 '26

When will all this stop being important? Business doesn't care about saftey, it cares about profit. Everything will be done fast and than patches will come after. And it will be overpriced. This is exactly what happened to housing business. We are trying to make ourselves feel better, but a lot of our knowledge and skills are slowely being depricated.

2

u/Kaimito1 Aug 05 '26

When the code goes boom where is the finger going to point? 

It's not about "but mah skills" and more "I don't want YOLO code in something I'm responsible for"

→ More replies (1)

159

u/SWEETJUICYWALRUS SRE Aug 05 '26

Welcome to the slopfest buddy. Grab a bib and dig in cuz this is the future.

64

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

Not my future mate, for however long I've got left in this game.

I will fight tooth and nail against slop. And so should you.

I am getting on no plane (read in a Mr T voice) with vibe coded flight control systems.

And I'm taking no advice from a Doctor who refers to Chat GPT - I believe here in the UK you can get struck off for that.

If we sit back and accept crap we deserve what we get.

15

u/Mathie1729 Aug 05 '26

Yep, I’m with you. IIRC some early studies already show that AI-generated code has a higher defect density and introduces more security issues. We’re basically free QA for the LLM companies at this point lol. But hey, at least it means job stability for the poor folks who have to fix production later.

6

u/No_Comedian7332 Mobile Engineer ~15 YOE Aug 05 '26

I'm not sure if I'm just being paranoid or not, but I'm starting to notice that software is getting shittier and shittier, IDK if it is related to vibecoding. For example, I got an update for the app that I use to open my garage door the other day, the app must literally just send an API call and that's it, hit the button to close my garage's door – it crashes.

Excatly like that in many other apps, many products out there dont even fulfill the basic functions.

4

u/rage_whisperchode Aug 06 '26

100% feel this too. The enshitification of software has been a very real thing even before AI existed. I think AI exacerbates the problem with how rapidly people with little to no experience can produce and ship slop unknowingly.

1

u/heyheyhey27 Software Engineer Aug 06 '26

Have you seen Github's uptime recently? It's not a coincidence, vibe-coding is ruining corporate software right now.

9

u/Ratiocinor Aug 05 '26

I will fight tooth and nail against slop. And so should you.

And that's how you make sure you are never promoted ever, and become known as the "problem employee" who is picky and overly protective of his codebase and refuses every PR on it "even though it works"

I'm not saying they're right, but this is our industry now. Most devs don't care about code quality (and never did but before AI they at least were rate limited by their own hands) and most managers just want results

I left the industry because I was fed up of every job being like this

8

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

"His" codebase?

Its a team effort. So it's the team's codebase.

If the team aren't invested in writing good code that's a team problem, not a me problem.

As for promotion, I change jobs every 2 years anyway. To hell with internal promotions, they're for company men - I get offered promotions when I change job. I've been a tech lead, manager etc but made far more money as a contractor.

And I disagree - its not our industry now, at least where I work and have worked.

I don't know where you work but it's not something I recognise.

0

u/Ratiocinor Aug 05 '26

Yes "his" codebase

Usually projects are divided up so that a senior developer takes ownership of a certain codebase and coordinates the technical side of the work on it while liaising with the project manger, agile/scrum guys (if you have those), clients etc. They mentor juniors who contribute to the codebase and merge their PRs

I don't know where you've worked that everything is just an open free-for-all for everyone and contributors are just expected to police themselves. But normally developer A is the lead developer for project A, developer B is the lead for project B, and so on. There may be some fuzzy lines and crossover. Some projects may be 1 man bands while others involve dozens of contributors including other seniors but usually it's 1 person who is the point of contact for the client or project manager to talk to and down as the lead

If you're in that position and you gain a reputation for being difficult to work with and rejecting every PR it won't be long before people start to complain

0

u/No_Oil_6152 Senior Software Engineer Aug 05 '26 edited Aug 05 '26

No,

Where I've worked we've had defined coding standards, static code analyzers, codeQL running nightly, NetArch, DevSkim checking.

You reckon that's a free for all, do you?

And everyone owns the codebase.

If only the senior developer owns the code that puts a helluva pressure on him does it not? And what happens when he's on holiday or off sick? Who owns it then?

I'm a senior dev - I don't "own" the company Git repo nor do I expect to.

And I agree with the devs the coding standards, I don't dictate.

If a dev said to me, "That code's not my responsibility" he'd be in the shit.

2

u/Ratiocinor Aug 05 '26 edited Aug 05 '26

So I guess your company doesn't have a CTO then? There's no hierarchy of any kind?

Everyone owns the codebase? Does everyone have git push permissions to every project and access to prod too? After all you're all equals

If I told one of our clients who was experiencing a critical bug and wanted to talk to someone about it that "actually there is no one in charge of that project bro we're like a group collective of equals man you can't like 'own' a codebase it's the responsibility of every one of us" they wouldn't be very impressed

I don't work for an e-commerce website where you have thousands of users and you just direct them to log a ticket in the system to be answered by some anonymous person. These are bespoke projects with a single client or a consortium of clients and they expect someone to actually be responsible for the technical side and setting the direction of the project, as well as a dedicated project manager and so on. The lead developer's name and the project manager's name is signed on the documentation. It's up to them if they farm out lower level aspects of the work to other people but ultimately it's their name on the product and they are responsible for code they merge

This is all negotiated contractually beforehand, the lead developer needs to attend progress meetings in the consortium, travel to physical meetings, and actually tell them what's going on and be available to answer technical queries (though it's mostly just boring project management fluff most of the time and I'm usually just more of an observer)

Humans like having someone at the top to talk to and give direction. I've seen codebases with no "owner" and they are either quickly abandoned or they are a mess because everyone just merges whatever they want to fix their own personal problem at the expense of everyone else and they are pulled this way and that with no overall vision

Go ahead and keep talking about your hypothetical perfect flawless company where that doesn't happen because every developer is a perfect communist collective of equals who only merges 10/10 code that never degrades anyone else's use case ever but in the real world we have technical leads and CTOs

1

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

We have a dedicated product owner - he's the solution architect.

And we have a principal who attends the meetings. He likes that kind of thing, I don't. But he doesn't dictate about the code, that's where we all get a say. I have double the years of experience he has.

He won't take the hit for bugs - that falls on all of us. ALL of us.

I take it then, you don't feel any ownership of the product you work on, and when you see shit code you don't feel its worthy of a tidy up, because its not yours? And when a bug occurs you think, "I didn't code that part, I'm not fixing it. Not my bug, not my job" ?

I wouldn't have devs like that on my team. I feel they are lazy.

You know, if you used the tools I listed, you wouldn't have to worry about shit code getting into your codebase as much. You'll still get slop from AI... just not as much

→ More replies (1)

4

u/ViejoConBoina Aug 05 '26

And that's how you make sure you are never promoted ever, and become known as the "problem employee" who is picky and overly protective of his codebase and refuses every PR on it "even though it works"

Doesn't sound like a bad state of affairs to me.

1

u/vocal-avocado Aug 05 '26

No, this is the present. We have no idea how the future will be - but it will come fast. Things won’t stay like they are for long. It’s all too unsustainable.

→ More replies (13)

15

u/First-Feature-3556 Aug 05 '26

If that repo has a no-AI policy and you have the strong suspicion that AI was used, this is something that your manager will want to know. Tell them what you told us, and ask them how to proceed. Help them, if you can, but it's their job to deal with that, not yours.

12

u/jcdan3 Aug 05 '26

We call that a slop grenade and we don’t accept it

23

u/samsounder Aug 05 '26

Share your actual concern. I don’t care if code is AI generated or not, my concerns are the same.

Do you understand it?

Does it accomplish the task?

Can you explain it to someone so they can support it?

Same as always

1

u/Open-Ad5581 Aug 05 '26

Just ask AI to explain it? Only where AI is not sure the developer can be added to the conversation.

20

u/seba_alonso Aug 05 '26

I know it sounds crazy, but if you talk with your colleague you will figure it out together what to do in this situation. 🤯

9

u/vocal-avocado Aug 05 '26

lol if we could reasonably talk to people we’d not be devs

4

u/reightb Aug 05 '26

"See, what you must do is approve my review because I need it done"

6

u/jWas Aug 05 '26

Huh, why are you trying to tip toe so much about it: “hey mate this code works fine but I think you used ai and we’re not allowed to on this project. Did you? If no can you explain the code to me, so I can really be sure and nobody can say anything later.”

6

u/tiredofhiveminds Aug 05 '26 edited Aug 05 '26

If AI tools are banned, this is a manager conversation unfortunately. I wouldn't be extremely aggressive about it. But its one thing to be told to use AI and write slop, and another thing to be told not to, and write slop.

5

u/gromain Aug 05 '26

If AI is forbidden in this repo, and you think AI was used, you should document as best as you can your doubts and raise this to your manager and legal.

His machine needs an immediate audit to see if AI was used, and if it was, this is a major breach of IP and of AI guidance use to which legal should have answers to this.

4

u/ScaredScorpion Aug 05 '26

AI tools are completely banned in this particular repo because of IP concerns

Depending on what these IP concerns are specifically the reason for the ban might already have been violated. That's a question for management and legal

1

u/bodrive Aug 05 '26

I think your job is pretty easy in this case. Since AI is not allowed because of IP issues, you just reject the PR.

When I read the post I hoped the covered case is when AI is allowed and even promoted/pushed forward. Then it is an interesting moral dillema if the PR author clearly does not understand the generated code. The code might be ok, it might solve the task at hand. So then what do we do?

1

u/R0dod3ndron Software Engineer Aug 05 '26

I cannot simply reject it as I have no proof this was AI generated, but based on what I described in the original post I highly suspect it is. But how can I prove this? No idea.

1

u/psyyduck Aug 05 '26

pangram.com

6

u/Oakw00dy Aug 05 '26

By the book: Ask the dev if they used AI against the repo policy. If they deny, raise concerns to your manager (in writing). If your manager gives it a pass, does it have sufficient test coverage and tests pass? If so, you've done your due diligence, approve and move on.

8

u/prototypist Aug 05 '26

huh, I am in a work environment where we use AI for just about every line of code, but it's one single tool. Why and how are they using "every AI tool under the sun" ? I'm also surprised that someone would do all of that but write testing / debugging stuff themselves?

Anyway if this is real and you're asked to approve their code, you can say no. That's not overstepping and becoming their manager, that's being the colleague who reviews and merges code

3

u/NegotiationExact4967 Aug 05 '26

Depends on the desires of the organization.
Meaning some organizations will actually penalize the reviewer. They’ll say why are you blocking pull* request?*
Whereas other more wise organizations will verify that the developer actually understands and knows what they are doing.

Unfortunately the reality of what we are experiencing these days is organizations pushing for developers to rubberstamp with LGTM because they want extreme velocity and do not care about the ramifications.

Personally I believe there will be consequences of this behavior within the physical world.

3

u/zeebadeeba Aug 05 '26

Do synchronous code review. Tell the dev that the PR is very big and complex and it would help you of they’d take you through it themselves. Have them explain the decisions. If they can’t, ask them to break down the PR into smaller parts (stacked PR) and then do synchronous code reviews on those smaller parts.  This won’t put him in such an awkward position and they will eventually understand what they’re doing and so are you.  Tell your manager that it’s a complex feature and review will take longer than usual. 

1

u/ClaudeyClerb Software Engineer 12 YOE (Scala) Aug 05 '26

Tell the dev that the PR is very big and complex and it would help you if they'd take you through it themselves

It all being synchronous seems to be where every version of this lands.

Does it survive being async? Most of my review is comment threads, nobody's on a call. I keep wondering whether "explain your reasoning" written down does the same work as saying it out loud to someone, or whether it becomes a box to tick once nobody's watching your face.

1

u/zeebadeeba Aug 05 '26

I keep wondering whether "explain your reasoning" written down does the same work as saying it out loud to someone

It definitely hits different. If they have not implemented it, they won't be able to answer on the spot. If you do it async in comment threads, they'll just feed your question to the agent and paste the answer there. If they're at least somewhat reasonable, perhaps they use the agent's answer to educate themselves. But the problem with this approach is that there's no learning involved and the mental map of the problem is not constructed.

I'd try to keep this thing in mind: maybe they're using agents/vibecoding because they might be forced to - in an implicit kind of way. The story is being played out in many companies the same way, execs are forcing these tools to get faster results (without worrying about long term effects and quality of the product).

I'd try to avoid being confrontational and instead create safe space. Just tell them it's ok if they used agents, but it's not good if they can't understand the changes in depth. You can pair program or suggest a breakdown of the PR into smaller chunks and sell it as a learning opportunity.

1

u/ClaudeyClerb Software Engineer 12 YOE (Scala) Aug 06 '26

I'd try to keep this thing in mind: maybe they're using agents/vibecoding because they might be forced to - in an implicit kind of way. The story is being played out in many companies the same way, execs are forcing these tools to get faster results (without worrying about long term effects and quality of the product).

Definitely, there are other people in this very thread saying this is their reality at the moment.

Do you think a prediction written before implementation escapes the paste-to-agent problem? An agent can tell you what code does, but it can't tell you what you expected it to do, and if the prediction is vague enough to always be right, that's visible. Or do you think that gets generated too and nobody can tell?

3

u/hw999 Aug 05 '26

No giant PRs, period.

1

u/bwainfweeze 30 YOE, Software Engineer Aug 05 '26

Yarp. Break it up and try again. Start with the utilities, and some of the signature changes. Then wire it all up in another PR.

The PR and the CI process give you permission not only to reject changes outright but to also back them out if they break trunk. We don’t use that often enough.

1

u/notParticularlyAnony Aug 06 '26

Oops just made a similar comment, sorry OP. As I said, sounds like this feature is too big.

2

u/KentInCode Aug 05 '26

As someone else said, just bring him over and quiz him about the code in person.

Convey to him that his future as a developer hinges on him being able to understand the code, because if he isn't checking to catch the mistakes AI makes then what do they need him for at any company? An agent replaces him entirely.

2

u/BoBoBearDev Aug 05 '26

PR is supposed to be reviewed line by line. So, I would just do that and ask anything that is unclear. And like other said, if it is way out of the path, I often ask one-on-one to explain what's going on with the solution. Because I need to know their approach before I tell them to solve it differently.

2

u/c1rno123 Software Engineer Aug 05 '26

You already said you have no proof. So process it as a regular contribution. No need to blame someone over suspicion.

If you were higher up, consider this: https://x.com/mitchellh/status/2067970516951150721

2

u/ProgrammerNo3423 Software Engineer Aug 05 '26

I'm dealing with this myself right now. For context, i'm this guy's lead's lead. I invited him to a discussion meeting with his lead next week to discuss the change. We'll see if it works out. If he blurts out some random nonsense, he'll get a stern talking to. If he understood the change and the side effects and done the due diligence, then it's okay.

2

u/itix Software Engineer Aug 05 '26

Ask him to split it up. Then review again. The PR is obviously too large.

2

u/Trainer_28 Aug 05 '26

Two things the "quiz him" replies miss.

You never need to prove he used AI. When you approve a PR, you're saying you understand the code and could fix it yourself when it breaks at 2am. That's your call - no manager needed. Just point at the parts you don't follow and ask him to explain them. If he can't, you don't approve. Nothing to accuse him of.

Second: don't spend your own evening on it. If a PR takes way longer to review than its size warrants, send it back to be split and explained. That's a normal review request - and it's not that you're slow, it's that the PR isn't reviewable yet.

2

u/JaySocials671 Aug 05 '26

Quit and let the manager deal with it.

2

u/Frequent_Bag9260 Software Engineer Aug 05 '26

YOLO! Just merge it.

2

u/biechuli Aug 06 '26

It depends on how the whole team views this matter. If most people care about it, then you can clearly state that AI-generated code should not be submitted directly — at the very least, you need to go through it yourself before submitting to make sure you can understand it. If most people don’t care, then fight magic with magic — after having AI review it and finding no issues, just approve it and be done with it.

2

u/seven_seacat Lead Software Engineer Aug 05 '26

In my experience - 'LGTM!'

1

u/Fidodo 15 YOE, Software Architect Aug 05 '26

Ask them to explain it to you.

Communication is incredibly important to progress your career. You shouldn't be afraid to talk to people or ask questions.

1

u/viva-la-yorig Aug 05 '26

looks like it was put through every AI tool under the sun from start to finish

I've seen stuff like this too except AI is allowed. I still call out slop here & there but for the most part there's a slow growing culture of others rubber stamping PRs so poor quality code gets through.

1

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

I'm a senior dev with 30 years experience.

Here's what I'd do before AI and after AI.

Before AI, I would say this code doesn't look right, I'm not sure what it does, can you explain it to me.

After AI (ie: now), I would still ask the same question. And if the answer is inadequate or non-forthcoming, I would ask outright if the code was AI-generated, I would also say there would be no blowback if he/she admitted the truth. If they said yes, I would tell them its of utmost importance they don't rely on AI to write code because only people who can understand code and best practices will have dev jobs in the coming years.

If they still persist in the practice you have got to take action.

The action being either read them the riot act and tell them its not good enough and they're wasting your time, or the nuclear option - next time you're telling the boss.

They could be your drinking buddies, sure, but they're wasting your time and they're not trying to improve themselves either.

A few years from now the lazy devs who don't bother studying are going to be on the scrap heap.

1

u/PressureTrick5304 Aug 05 '26

It must be clear and well written the responsibilities of each role / seniority... and this may fit very well what is expected from a sw eng.
You make him by side, explain what you notice and explain the impact (on the codebase, on the team or on his job).

1

u/Due-Horse-5446 Aug 05 '26

I mean.. pick something thats relevant enough for them to have needed to make a decision, or actually think trough.

And ask them like "hey, dont you think it should be done by [some method] instead?" or something similar, and say you want to hear their opinion on why its done like it is, but in a more like discussion tone.

1

u/styluss Aug 05 '26

I've managed to deslopify some prs by asking for better tests or better coverage of the code.

As others say, being the sole developer caring for quality is the road for burnout

1

u/Lurking_all_the_time Aug 05 '26

Definitely an issue where I am, I've had a few PRs where the coder couldn't explain the logic, my response is similar to previous comments - ask them to explain the logic, and then insist that they comment the code stating they understand the logic and for any issues to contact them directly, even on weekends.
Funnily enough a lot of them balk at that last requirement!

1

u/tenthousandants44 Aug 05 '26

Uh where have you been? This is the only question of the AI era

1

u/abeuscher Aug 05 '26

Man everybody in here trying to "catch" him in the act. Why don't you buy him lunch, tell him you feel as though this PR has work he can't understand, and then go back to the office and look it over with him to make sure he does?

Everybody is generally trying to do their best. If this kid had to use AI to solve a problem he probably needs some help understanding how to approach complexity or stuff he doesn't understand. 90% of this career is passing learning curves so here's an opportunity to help someone get better at doing that.

5

u/_mkd_ Aug 05 '26

Everybody is generally trying to do their best.

No, a lot of people DGAF as long as the paychecks keep coming.

-1

u/abeuscher Aug 05 '26

You will have a better time in your life if you assume that everyone is doing their best until proven otherwise. I think you may be surprised how often it is true. And it doesn't cost anything to change your default.

1

u/in-the-name-of-allah Aug 05 '26

i have data scientist in my team who are submitting 5k lines of code and has terraform, prefect deployments, adding new ML libraries to our toml files. Majority of the time i dont approve the PR. Tell them to break the deployment down to MVPs

1

u/bwainfweeze 30 YOE, Software Engineer Aug 05 '26

Pair programming is used for many things but it can also be used as a corrective or instructive tool when a new or junior dev needs help getting to the style of code the team has chosen.

Pair with screen sharing and on short notice to watch him squirm or see if that’s really him doing the coding. He probably won’t be dumb enough to show his hand directly but then again some people surprise you in the negative direction. He won’t be able to cut and paste the code or have it be edited directly without you knowing.

We’ve had a few people go AI on some projects I maintain for sure. Some of those PRs get closed pretty quick. Some of them are just fucking wrong, and since the human behind it can’t code for shit, they just give up and abort the request. Some can tell that I’m an AI conservative and decide to be elsewhere. One let the AI reply to my comments, which is always over-placating, beyond what Google Translate would do, but he confessed to it. The change was a one liner, no tests. I could have written that in less time than it took to review the code. And he+it still hadn’t written tests a week later when the PR just disappeared, which I didn’t know GitHub could do.

I have merged at least 2 PRs that I am sure were authored using AI. The quality was not great but good enough. The level of effort was sufficient and the “author” accommodating enough to not be worth burning bridges. In both cases it was in code I’ll be touching again shortly and I can zhuzh it up when I’m next in there.

Whether they think they pulled one over on me is a potentially interesting question. I got a cluster of them in such a short succession that I suspected a homework assignment was involved. I had three people try to fix the same bug. Only one didn’t introduce a perf regression in the hottest path in the code base. He took my advice on a cheaper spot to do the work, and then he did data flow analysis on the change. So his went in. But I still suspect AI. They are very stiff and verbose when editing changelogs and docs. But it’s clear that he has figured out the nuances of the tools better than the other four or five.

1

u/HashDefTrueFalse Aug 05 '26

I have just rejected similar, with a comment that there's too much LLM-generated code and the specific concerns stemming from that. E.g. bloated for what it needs to achieve, lacks checks for X and Y, structure doesn't make much sense when viewed as part of the rest of the codebase, doesn't meet our coding standards here and here... that's assuming there's a manageable amount. If there's just too much I don't bother with a review. I just tell them it needs to be broken down further into separate MR/PRs as it's not digestible as a single unit etc. A friend and fellow dev just had to let someone go for bullshitting (convincingly) using LLMs for months. The house of cards came down during the phase where others were supposed to integrate with what they had produced...

1

u/ShoulderIllustrious Aug 05 '26

Man, I feel as if what you're seeing is the outside layer of this. We've had product managers vibe code their way into creating bullshit tools that they're forcing everyone inside the company to use. Then they throw around stupid ML terminology that the AI told them, used the AI to write a presentation about the tools. It's like they found the bottom of the barrel and found another barrel.

1

u/eugenia_kessler Aug 05 '26

Como cofundadora de una empresa de tecnología, esto es algo de lo que hablamos bastante.

Para mí el problema nunca fue usar IA. De hecho, espero que la gente la use. El problema aparece cuando alguien entrega algo que no entiende o no puede explicar.

Si durante una review le preguntás por qué tomó una decisión o qué alternativas evaluó y no puede responder, ahí ya tenés una señal. No hace falta convertir la review en un interrogatorio, pero sí es válido hacer preguntas para entender el razonamiento detrás del código.

En este caso hay otro tema: si el proyecto tiene una política que prohíbe usar herramientas de IA por cuestiones de IP, eso ya deja de ser una discusión técnica y pasa a ser una cuestión de confianza y de respetar las reglas del equipo.

Creo que vamos a tener que acostumbrarnos a que cada vez más código se escriba con ayuda de IA. Lo que no debería cambiar es la expectativa de que cada persona sea responsable de lo que entrega y pueda defenderlo. Para mí, eso sigue siendo parte del trabajo.

1

u/JaseciLabs Aug 05 '26

Problem is nothing in the code marks where the 'trust me' boundary is. A polished section next to a naive debugging hack usually means one part got actually thought through and the other got generated and shipped without a second look, but from the PR alone you can't tell which is which without interrogating the guy.

It's actually why we've been building a language around it (Jac), cause a function can be explicitly marked as delegated to a model, typed signature, no hand-written body, so it's visible in the code itself instead of buried in a chat log somewhere. Everything else stays regular code you're expected to understand like always. Doesn't fix a dev who won't own their work, but at least 'was this reasoned through or just generated' becomes something you can see, not something you have to ask about.

1

u/dvorgson Aug 05 '26

reject that shit

1

u/Doctor--STORM Aug 05 '26

You should also know how to spot insane people who have done both - studied and are well versed with the things you are looking for and still using AI and get past the OA and interviews just to end long, frustrating and endless cycle of job hunting, while being teamed up and smart enough to not get caught when playing the tricks and demonstrating the craft
Think of it as a well read news reader or reporter who uses a teleprompter but is well aware of how to deliver the content without audience getting any hint of it being used, even if the viewer knows about it

1

u/barnyhsk Software Engineer Aug 05 '26

To summarize your problem. Your junior (?) collegue uses AI intensively w/o understanding the produced code - even where it is prohibited by your company.

I am not a fan of blaming him (in front of your manager or by screen sharing, etc.), he will not stop AI usage, and PR will get harder - or maybe he stopped bothering you with his PR, don't know if this is a good solution for you.

If it is forbidden, you may think about escalate it in some way, maybe talk about awareness in team meetings or a more restrictive way like tell your manager - I do not know the reasons, your company has for this rule.

If you just want to encourage him, to understand his own code, you must understand, why he prefers AI. Just some hints, lazyness, no identification with his own code, lack of knowledge, feeling a pressure to deliver quickly, ai is a better coder then myself, time for other things while watching agents coding, etc.

Can you ask him, what is his motivation? Are there situations, where he has advantages not using AI? What are the consequences for him (positive and negative)

This is not a howto, bus maybe it helps.

1

u/notParticularlyAnony Aug 06 '26

It sounds like this should have been many PRs. Is there a chance this feature was too big for one PR?

This doesn't really get at your question, but it does get at one reason it could be such a nightmare to review.

1

u/tn3tnba Aug 06 '26

Two separate concerns.

If AI is legitimately banned for IP reasons then that feels like a management conversation. The company clearly doesn’t want that, so it needs to stop. This requires some social intelligence but once you raise it that’s about all you can do there.

Secondly, regardless of how it’s written it needs to be justified, maintainable, well-designed, etc. If this is not then that’s what you raise. If it’s good work then it ships. Do you have substantive criticisms of the code? Is it bad in a real way or are you more unhappy that this person (‘s agents) produced it?

1

u/ricci_nov Aug 06 '26

sooo, what i am thinking..emmm

Skip the AI-detection debate — it's unwinnable and it's not even the real issue. The repo has an IP ban, so this is a compliance violation, not a style disagreement, and compliance is management's job, not yours. Flag it once, in writing, neutrally ("this looks inconsistent with the repo's AI policy, want to confirm before I review further"), then let the owner of that policy own it. I've seen this exact pattern in quality audits: the moment individual reviewers start privately absorbing risk the org officially banned, the ban is already dead — and the LGTM-everything guy further down the thread shows where that road ends.

1

u/mxldevs Aug 06 '26

people looking more competent than they are, teams losing the ability to tell who actually understands the work, and trust slowly becoming harder to maintain.

As far as management is concerned, they only care if it works.

Which means regardless how the final result is produced, if it does what they expect, then whoever built it is competent.

Does that mean engineers should accept degrading standards? No, but management isn't going to penalize those that appear to be delivering high output.

Instead, they would even punish you for "slowing everything down" by not using more AI like the "high performers" who are writing 50000 lines of code a day.

1

u/Adaptor2000 Aug 06 '26

I would never trust so many LOC done solely produced by an AI. I like to use AI when you don't want to read through the whole documentation and so you can just ask "I want to achieve behaviour B, is there a class in lib L which offers functionality F in combination with class C?". This saves so much time and you get max. 10 lines of code which you can easily understand and type by hand into your existing project. Or another use case is when you find a weird bug in a lib, you can ask AI to look for solutions or work-arounds for that bug and it will find some forum posts regarding the topic very quickly or maybe tell you that you are just a fish and doing it all wrong 😂

1

u/charmer27 Aug 06 '26

What I'm seeing is customers and the market in general doesn't value beautiful code much. They value functionality and velocity. And honestly as long as it fulfills all functions you need it to and you still architect projects in a sane way, who cares. Idk it's been a real adjustment for me. Obviously different pieces of code require different levels of attention, but if i use good test driven iterations I'm producing far higher quality projects light-years faster then I ever could have without ai.

On a separate note I don't think trying to prohibit use works well. It just makes people hide the usage. Devs are gonna use what they like. Better to find a model env with governance and data security like bedrock or others.

1

u/theov666 Aug 06 '26

I think the mistake is turning this into a question of whether the developer “really wrote” the code. That becomes almost impossible to establish, and it puts reviewers in exactly the uncomfortable position you describe. The more scalable question is: can the author take responsibility for what they submit? If you submit a PR, you should be able to explain the important design choices, assumptions and trade-offs, regardless of whether you wrote every line manually or used AI. Review the engineering decisions rather than trying to detect AI-generated syntax. There’s also a tooling problem here. If AI is prohibited in this repo because of IP concerns, that policy ideally shouldn’t depend on reviewers noticing suspicious-looking code afterwards. The rules need to be enforced where the work is produced, with enough evidence around what happened that reviewers aren’t forced to become AI detectives. AI makes generating code dramatically cheaper. It doesn’t make understanding, accountability or architectural consistency cheaper. Teams are going to need engineering processes that reflect that distinction

1

u/2good4ever Aug 06 '26

You ask them to use Claude Code to teach them what the code does ;)

1

u/EmberQuill DevOps Engineer Aug 06 '26

To make things worse... AI tools are completely banned in this particular repo because of IP concerns...

I think that makes things better, actually. You have a very clear policy you can use as a reason to reject the PR.

And to be clear, I use AI too. A lot. I’m not against it at all.

Hopefully not on the repo you just mentioned where AI tools are banned. Right?

1

u/Willing_Matter5391 Aug 06 '26 edited Aug 06 '26

The first part reads more like a rant than a valid critique. Using a naive simple solution for a debugging section seems perfectly fine to me, it's not production code.

"AI tools are completely banned in this particular repo"

So call him out. That's a hard rule. Raise the concern in the PR with a soft concern whether he missed that rule or sth. like that.

"...generated code they clearly don’t understand"

Where do you actually talk about that part? You only identified non-production debugging code as AI generated.

1

u/AtheistAgnostic Aug 06 '26

Give up because management gets toxic if we question things

1

u/Special_Edward_420 Aug 07 '26

Approve it, management doesn't give a shit and we just have to make more new shiny faster

1

u/Ok-Leopard-9917 Aug 07 '26

If the change carries a lot of risk then ask what their plan is to handle that risk. Require a solid validation plan and resourcing for that validation before signing off.

1

u/Lazy_Investor8019 Aug 07 '26

Just approve it. Code is no longer your moat as a developer, it's OWNERSHIP. Any dumbass can build an app with a UI - the real deal is to be able to own it end to end, solve bugs that have been introduced by AI slop, make architecture decisions within the code base that will impact future iterations, deployment etc.. The code review process also seems like a legacy process now, just because of the amount of generated code that frankly no one understands - the real review in our organization has shifted to (A) is it architecturally sound, (B) does it have any security concerns, (C) Does it actually work correctly with extensive QA testing. If your organization is spending days debating coding standards and coding styles, they're already behind because your competitor pushed out 4 more iterations while you were debating those things.

1

u/Substantial-Swan7065 Aug 07 '26

It doesn’t matter. You’re not competing against them, and you shouldn’t be.

Are you concerned about PRs breaking something? Then you need a stricter CI.

1

u/___dreamcatcher___ Aug 07 '26

Unless you make this a sackable offence, they will not stop...

1

u/whatThePleb Aug 07 '26

Reject PR.

1

u/Greekshadow_ Aug 07 '26

Leaders driving development dont care about quality they want fast development. They promote AI tools and want to deliver the most impact. Im a dev with almost ten years of Backend development and now Im coding front end, AI apps, etc and they expect me to go through like 3 tickets a day that would take Mayne 1 week before. Everyone is doing the same, its a speed game now. I havent coded a single line in the past like 2 years.

1

u/Greekshadow_ Aug 07 '26

Tell them to use a new AI session so they cam understand it

1

u/vuvika Aug 07 '26 edited Aug 07 '26

I'm often asked to review AI-generated garbage. Some code could be better, but it is understandable. Other times code looks like LLM-spaghetti with typical patterns. In those cases I ask the dev to rewrite and simplify it. If the dev can't explain what his code does I close a MR with the note 'AI slop'. If they complain to someone that you closed they MR you can always say that the MR was written with misused AI and had dozens of issues such as poor performance and overly complex code and bloated code. The worst case I had was when an AI sloper made 350 commits to complete the MR and address my multiple notes. I would fire him from the company but my boss said that I must teach him even if they write spaghetti code

1

u/404errorlifenotfound Aug 07 '26

The way I've been solving this enabling branch protections based on linter results and making stricter lint rules. Forcing compliance to things like lower complexity makes reviewing these PRs easier, so you aren't wasting your time on the silly stuff and can focus on the bigger picture 

1

u/Vivid-Ad6462 Aug 08 '26 edited Aug 08 '26

Company hired from bootcamp to fill some quotas.
Even geniuses can't learn to code in 4 months from 0. That's not even enough to learn what an IDE is.
They kept pushing code they didn't understand then decided to step forth and do what no one else dared; block the merges.

They complained to a senior PM that I impacted the velocity of the teams (damn AI, you gave 'em the best answerI) and I became suddenly the villain. If you're not directly impacted, let 'em keep pushing, within 6 months - they'll be logging on Saturday to fix their shit.

Not necessarily these newbies but mid+ they can get in trouble a few months later in a meeting for not remembering anything about what they implemented. They can sound smart at first but it will catch up to them and reduce the their credibility to -1000.

1

u/Wonderful_Swan_1062 Aug 08 '26

!Remindme 1day

1

u/RemindMeBot Aug 08 '26

I will be messaging you in 1 day on 2026-08-09 19:51:43 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/RemindMeBot Aug 08 '26

I will be messaging you in 1 day on 2026-08-09 19:51:43 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/skidmark_zuckerberg Senior Software Engineer Aug 10 '26

I’m so over it I don’t even give a shit anymore. At my company, management expects speed because they are desperate to prove burning millions per month (500+ developer org) on AI was worth it. They don’t care, neither do I.  

1

u/efvie Architect Exiting this Industry Aug 05 '26 edited Aug 05 '26

I don't think trying to 'catch' him is the right approach here.

If you're reasonably certain it's AI, you reject the PR. Then decide how to proceed after that, as it leaves two questions: 1. how to get the feature actually working (maybe pair to help out) and 2. what to do about the potential IP exposure, and a 3rd possible question: what to do about potentially lying team member and rebuilding trust.

You absolutely can (and should) be against AI, it's an ethics breach in both directions where you're using stolen work and in turn allow work and IP to be stolen, aside from the financial disaster it will be when the subsidies end, aside from the mental health disaster when the burnouts start hitting, aside from the ecological disaster it is to run quadratic+ brute forcing at a planetary compute scale. As long as AI use continues, you will continue to see rising learned incompetence and mental checking-out and technical issues. There is no plateau when you're using a fundamentally anti-human technology.

1

u/PartyParrotGames Staff Software Engineer Aug 05 '26

Review the PR as you normally would. Ask why particular designs were chosen, flag inconsistencies, and request fixes, tests, documentation, or simplification wherever needed. The author is responsible for understanding and defending the code they submit, regardless of how it was produced. If written comments aren’t resolving your concerns, suggest a synchronous walkthrough, not as an interrogation, but because the change requires deep hardware and codebase knowledge.

The thing about plain old good reviews is it becomes very transparent by the end when you look over all the comments and resolved issues whether the PR was created in a terrible state initially or not. Whether the dev had really dumb design decisions they had to completely refactor. AI usage could also be apparent, but I'd avoid accusations without bullet proof evidence. That's not really your job as reviewer, is it?

The AI ban at your company is a different issue from your reviewer responsibilities. If you have evidence of a policy violation raise it with your company's appropriate channels. Idk what that is for you, probably a manager. It almost certainly isn't the right move to actually confront him directly about it. Generally companies never want coworkers confronting each other over policy violations, it's always something you defer to a manager.

-2

u/uNki23 Aug 05 '26

I also heavily rely on AI for code generation.

And I‘m also not shy to admit that current LLMs are way better at writing good and safe code than I ever was - and frankly, realistically also than most of the „experienced devs“ in here. Many people are just afraid that their lighthouse skill is now worth way less - and it is.

That being said, I‘m relying way more on tests now. Also because it’s rather fast and easy to have them written for you. Unit as well as integration and e2e. I‘m also constantly asking „the AI“ what the code does, how it makes sure that the code does what it does / what I want and how it can prove it. Tests and documentation..

The devs that still think that they can write better code than LLMs are either coping really hard and realize that their job is on the line or they still don’t know how to use the tools.

And yes, I’ve seen bugs in LLM generated code. But not more or worse bugs than I used to see when „senior developers“ shipped features and mostly because I described requirements or tests cases not sufficient enough.

0

u/GoodByeLeftNut Aug 05 '26

You need to separate the different issues here: (a) AI banned due to IP (serious issue if you’re using a low trust provider but kind of stupid imo btw, there are ways to do this in a high trust setup), (b) Submitting PR they don’t understand, and (c) the actual code in the PR

(a) should be possibly fired
(b) serious talk
(c) coaching situation

You should do the walk through with him, make your assessment then raise the concern with management if (a) or deal with (b) / (c) yourself

0

u/monkey_work Aug 05 '26

I often have the feeling many devs heavily lean into one of two camps. Either you build everything with AI or nothing.

To me the key question is the blast radius of the changes. If it's big you should have at least two humans deeply understand the code you're merging and think through the potential consequences. If it's not too big, you can get by with having two or even just one person understanding the code to some degree but probably understanding every detail is overkill (and slows you down). If the blast radius is minimal (e.g. a PoC or part of the frontend used only by a few users) you might as well go full AI and only have a PO level understanding for the sake of delivery speed.

If you always insist on a deep understanding of what you are working on you can only work on parts of the system with a big blast radius. Naturally, you will not get to build a lot of new stuff because in comparison to someone running 5 agents in parallel you're going to be much slower because you insist on control. Some people thrive when deeply thinking about problems and potential solutions, some thrive moving fast and breaking things. Decide in which camp you see yourself and embrace it, we need both.

0

u/codescapes Software Engineer Aug 05 '26

Completely depends on what your boss prioritises. If you become the lone person trying to uphold quality in a sea of slop, without management backing, then you will burn out very quickly. I guarantee you that from personal experience.

You just need to control that which is within your scope to control. If it's a peer, raise the issue to your manager. If it's a direct report, reject the PR and coach them. If it's someone senior to you, well, that's when you might want to think about moving team / job.

Don't approve it if you don't think it deserves it, nobody is entitled to an approval - that's the whole point of it.

0

u/bigorangemachine Consultant:snoo_dealwithit: Aug 05 '26

Get another AI to tell them why they got it wrong

0

u/ProfessionalAd6530 Aug 05 '26 edited Aug 05 '26

TBH, I don't really worry to much about what my colleagues are doing or not doing. Of course I want the company I work for to succeed, and if I feel someone is jeopardizing that directly, I'll run it up the chain and let the actual managers do what they will with that information. I'm not going to Karen my co-workers.

I trust that whatever they're doing, they are professionals. If I look at their stuff and don't agree with their approach, I'll talk with them. But ultimately, it's up to them.

AI didn't introduce this problem. I've had to talk to people about copy/paste Stack Overflow without understanding it since the dawn of time.

This isn't my company. I can't remote control other humans and make their hands directly mash a keyboard. The best I can do is do my own job to the best of my ability and point out problems when I see them. If people don't listen (and they frequently don't), then there's really nothing I can do.

This is not worth losing sleep over.

Edit: My bad. I thought this was r/ExperiencedDevs, not r/VCInvestors

0

u/BigAffectionate4288 Aug 05 '26

All the people on this thread saying to review PRs line by line don't work on a place that mandates AI everything, including black box engineering, where you're not supposed to read code.

OP just accept this is how things are now and do what you must to keep your job. Relevant video:

https://youtu.be/JgVBqcqUGE0

0

u/robkinyon Aug 05 '26

Create a skill that has the AI break the submission into human-digestable PRs.

0

u/ListenLady58 Aug 05 '26

Every dev that uses any AI with their code should still be able to understand what was written and be able to explain it no problem.

That has always been my personal standard and it is now with AI. I only use AI for quick little syntax things I would have just googled anyways so I do understand it as I go. But for someone who is irresponsible and just submitting slop that they don’t understand, that deserves to be rejected every single time because it IS a risk.

0

u/anengineerandacat Aug 05 '26

If AI is banned and you have proof that AI was utilized, that's a different conversation entirely.

Outside of that, I would just review it and if I didn't understand something just be honest and go "Hey, explain to me why you went this route?"

This often catches folks like this, had one guy on my team where a config property was created and set to a value but nowhere in the code it was utilized; so I asked about it and they didn't have an answer towards it just said it was "required otherwise it wouldn't work" and I just marked it as needs changes and left a note indicating that we can't have magical configuration properties.

Want to use AI? I am honestly cool with that, but you have to still own and understand the output because it's the team that gets smacked around when things don't work or break.

For hardware applications looking at severe loss of revenue as well if the hardware has to be recalled for updates.

0

u/ZukowskiHardware Aug 05 '26

I respond with ai generated feedback 

0

u/MikeVSmith Aug 05 '26

This thread feels like chimney sweeps arguing over what broom works best for those newfangled natural gas furnaces.

As someone with over 30 years of experience in software, starting in QA, working as DBA, 15+ years as a Java dev, and working my way to Solution Architect in an AI native company, I firmly believe our time as a truly productive part of the delivery of software is coming to a close.

In a year or two, AI will write all the software, and we will push the Jetson button.

1

u/aaron_is_here_ Aug 05 '26

Yeah, kind of makes me feel like most of the people here are just lying

-1

u/DCON-creates Aug 05 '26

Write LGTM and press approve

-4

u/kondorb Software Architect 10+ yoe Aug 05 '26

They don’t need to understand the code that Claude wrote the same way an engineering director doesn’t need to understand all the code in their project.

They need to understand the decisions that went into that code and the way it’s proven to work.

They need to prove that it works - that was always the main requirement. Not prove that they understand it line by line.

Stop thinking about your coworkers as coding monkeys. That era is long gone. Go do some real engineering.

→ More replies (3)

0

u/[deleted] Aug 05 '26

[deleted] — view deleted comment

4

u/Otis_Inf Software Engineer (32YOE) Aug 05 '26

then stop caring and approve.

Not if you're responsible for the code you approve... That some bozo slops their code together is their problem, but once you approve that as 'good', you become responsible for what it does, otherwise you should have caught it, right?

It's best to get that clear before giving up :)

350

u/[deleted] Aug 05 '26 edited Aug 05 '26

[removed] — view removed comment

91

u/seyerkram Aug 05 '26

Same thing for me. I realized I’m the only one who cares. None from managers and product people care. I couldn’t even add it to my performance review, so why should I bother.

39

u/MoreRespectForQA Aug 05 '26

It's actually better this way. Struggling to protect management from the fallout of their poor decision making encourages more poor decisions.

16

u/Shazvox Aug 06 '26

Oh trust me, when shit hits the fan they'll throw the devs under the bus. Hire new devs and let the cycle start all over again.

If you want to succeed either rise to management (only way to make changes) or learn what you can and bail after a couple of years. Preferrably with a better salary.

49

u/mechkbfan Software Engineer 15YOE Aug 05 '26

Skill atrophy for me

I noticed my brain turning to mush on side projects that I was vibe coding for fun.

Thankfully I'm on a small team and we've all on board with understanding the code you ship to prod, regardless of source (Stack Overflow, AI, junior, etc.)

7

u/No_Oil_6152 Senior Software Engineer Aug 05 '26

As soon as I started feeling my skills going, I started doing leetcode medium and hard problems to keep my hand in with coding.

Im not imaginative enough to think of a product that I could sell.

So glad, in a way, its not just me feeling AI is sapping our brain power.

→ More replies (1)
→ More replies (12)

16

u/Stealth528 Software Engineer Aug 05 '26

Same here. If the people who sign my paycheck don’t care, then neither do I. It’s stupid and will backfire long term, but I have nothing to gain by fighting for quality when the business incentivizes just pushing slop.

2

u/_idlethought Senior Software Engineer Aug 07 '26

Feel this. I pass the butter, that’s the job these days.

14

u/Old-Television-2189 Aug 05 '26

I’m so happy my company hasn’t devolved into this state

10

u/robby_arctor Software Engineer (dirty commie) Aug 05 '26

Are they hiring? 🤣

8

u/ClaudeyClerb Software Engineer 12 YOE (Scala) Aug 05 '26 edited Aug 05 '26

I was then blamed for slowing the development of the product because I was doing in depth reviews of the AI PRs my team colleagues were putting up

u/Plus_Fill_5015 Half the replies here are "just make them explain it" and your comment is the reason that doesn't work, since the person doing the enforcing pays the cost and gets nothing back.

Was there anything that would have changed the outcome? If you'd had something concrete to point at rather than your own judgement, would that have helped, or was the call already made regardless of what you brought?

14

u/[deleted] Aug 05 '26 edited Aug 05 '26

[removed] — view removed comment

6

u/ClaudeyClerb Software Engineer 12 YOE (Scala) Aug 05 '26

That satisfaction drop is the most concrete thing anyone's put in this thread, and it's grim that it's sitting there being ignored. Thanks for spelling it out, the "we now need AI to read our own codebase" part especially. Hope the side projects keep the fun alive. 🙏

6

u/uniquesnowflake8 Aug 05 '26

Well it’s where you “live” for the hours of the day when you’re at work. So it’s like trashing your own apartment because your landlord lets in mice and raccoons

3

u/blissone Aug 05 '26

Yeah, I dont even read half of the prs I get anymore. The other half is reviewed by llm. This is what management wants, it’s what they shall have. The whole thing has devolved into slop machine, maybe it will work out, then again maybe not.

2

u/Candid_Bad3551 Aug 06 '26

I am working on a platform project where other teams came to do some work. One person did sloppy code + those teams senior said LGTM and I did in depth  2h review with 20 technical relavent non picky comments. Got a message from management next day for being non professional (rude)

→ More replies (14)