How to deal with juniors shipping AI slop code?

Posted by theop04@reddit | ExperiencedDevs | View on Reddit | 200 comments

I am not against AI usage at all, in fact, I encourage it; however, I have spent countless hours reviewing AI slop PRs, and whenever I ask them why they made certain decisions, they just give me this blank look back, or come up with some bad explanation.

On several occasions have I been watching their debugging sessions, and their first instinct was just to plug the entire code chunk into Claude. Like just look at the stack trace…

I am tired of it. I have tried pushing them to develop a conceptual understanding of their code rather than treating it like a black box, but I am unable to enforce this.

I’m worried that we are about to enter a dark time where the majority of junior engineers have a lack of the fundamentals and intuition that make a GREAT engineer. Especially since the juniors that will be rolling in the next few years probably never even coded before AI… scary.

I don't know. Maybe it’s just me, but I am exhausted.