Article

Is AI Making Junior Engineers Worse?

AI can help junior engineers learn faster or quietly stunt their growth. Here's what the research shows and how to use AI the right way.

We've all had that junior engineer who ships a clean feature in two days. The pull request looks good, the tests pass, and the code follows the team's style. Then a reviewer asks why the retry logic waits before the second attempt, and the room goes quiet. The engineer doesn't know, because they never had to know. The AI assistant wrote that part, and it looked right.

Most senior engineers have seen some version of this moment by now. It is tempting to turn it into a story about a lost generation of developers who can't code without a chatbot. I don't think that story is true. However, I also don't buy the easy answer that AI is just another tool and everyone should relax. The honest answer sits somewhere in between, and it depends far more on how juniors use AI than on whether they use it at all.

What the research says

In January 2026, Anthropic published one of the first randomized controlled trials on this question. In a trial like this, researchers assign people to groups at random, which makes it easier to say the tool caused any difference in results. They recruited 52 mostly junior engineers who used Python every week and asked them to learn Trio, a Python library for asynchronous programming that they had not used before. Asynchronous programming lets a program juggle many tasks at once without waiting for each one to finish.

One group had an AI assistant built into the editor, while the other group worked without one. Afterward, everyone took a quiz on what they had just learned. The AI group scored 17% lower, and the time they saved was so small that it could have been chance. In other words, they learned less and did not finish meaningfully faster.

The most useful finding was hidden inside the AI group. People who used the assistant to ask conceptual questions, such as how a feature worked or why an error happened, scored 65% or higher. People who mostly asked it to write the code for them scored below 40%. The tool was the same in both cases, and only the way people used it changed.

You can read the full write-up on Anthropic's site.

Where AI really hurts juniors

In my experience, AI doesn't make juniors worse at everything. Instead, it weakens a few specific skills that used to grow on their own through struggle.

  • Debugging. Debugging is the work of finding out why code doesn't behave the way you expect. Juniors used to build this skill by staring at stack traces (the error reports that show where code failed) and adding print statements until something clicked. Now they can paste the error into a chat window and get a fix in seconds, so the click never happens.
  • Reading code. When you write code line by line, you learn to read it. When an assistant hands you 200 finished lines, it's easy to skim them, see that the tests pass, and move on.
  • Building a mental model. Senior engineers carry a rough map of the system in their heads. That map comes from many hours of tracing how data moves through the code. AI can skip those hours for you, but then the map never gets drawn.
  • Knowing when something is wrong. AI output sounds fluent and confident even when it's wrong. Spotting a subtle bug in plausible code takes exactly the experience that juniors haven't had the chance to build yet.

All four skills come from friction. Struggling with a problem for an hour feels slow, yet that struggle is where the learning happens. When AI removes all of it, it removes the lesson too.

What juniors gain from AI

It would be unfair to stop there, because AI also gives juniors advantages that my generation never had.

A junior engineer today has a patient tutor available at any hour. They can ask the question they were too embarrassed to ask in a meeting, and nobody will judge them for it. They can also ask an assistant to explain an unfamiliar codebase, walk through a confusing function, or compare two approaches before choosing one. Used this way, AI speeds up learning instead of replacing it.

Juniors also meet more patterns, more languages, and more corners of a system much earlier in their careers. A junior who uses AI well can explore far more ground in their first year than I could in my first three. As a result, the gap between a curious junior and a passive one is wider than it has ever been.

The real problem is how they use it

The research and what I see on real teams point to the same conclusion. AI is not making juniors worse. Treating AI as a vending machine for finished code is.

I think of it as two modes. In the first mode, AI is a tutor. You ask why, you ask it to explain, and you still write and own the code. In the second mode, AI is a ghostwriter. You describe what you want, paste whatever comes back, and move on once the tests pass. Both modes produce working code today, but only the first one produces a better engineer next year.

The tricky part is that ghostwriter mode feels more productive in the moment, and many teams reward it without meaning to. When a team measures juniors by tickets closed, it nudges them toward the habit that slows their growth the most.

Advice for junior engineers

If you are early in your career, here is what I would do in your place.

  1. Try first, then ask. Spend 15 to 30 minutes on a problem before you open the assistant. You'll often solve it yourself, and when you don't, the answer will make far more sense.
  2. Ask for explanations, not just code. Ask "why does this work?" and "what would break if I changed this?" more often than "write this for me."
  3. Never commit code you can't explain. A reviewer should be able to point at any line in your pull request and get a real answer. If you can't give one, rewrite that part until you can.
  4. Debug by hand sometimes. When something breaks, read the stack trace and form a guess before you paste it anywhere. The guess matters more than the fix.
  5. Type it out. When AI gives you a solution, consider typing it yourself instead of pasting it. It sounds old-fashioned, but it forces you to read every line.
  6. Build something small without AI. A weekend project with no assistant will show you exactly where your gaps are.

None of this means avoiding AI. It means staying in the driver's seat while you use it.

Advice for senior engineers and team leads

Seniors carry part of the responsibility here, since juniors learn from the culture we build around them.

  • Ask "why" in code review. Invite the author to explain a tricky part of their change in their own words. It isn't a trap, and it makes understanding part of the job.
  • Reward learning, not just output. If you only celebrate speed, you will end up with juniors who are fast and fragile.
  • Pair with juniors on hard problems. Show them how you debug, dead ends included. Watching an experienced engineer think is still one of the best ways to learn.
  • Mark some tasks as "no AI." Onboarding tasks and first bugs in a new area are good candidates, because the goal there is to build the mental model rather than to finish fast.
  • Show how you use AI yourself. Juniors copy what they see. If they watch you use tutor mode, they are far more likely to use it too.

So, is AI making junior engineers worse?

Sometimes it is, but not because the tools are bad. It happens when juniors hand over the thinking along with the typing, and when their teams reward that trade.

The engineers who do best over the next ten years won't be the ones who avoid AI, and they won't be the ones who depend on it completely. They will be the ones who use it to understand more, not less. That has always been the difference between a good engineer and a great one. AI has simply made the gap easier to see.

If you're a junior engineer, the most valuable question you can ask an AI assistant is still "why?" If you lead a team, make sure your juniors have the time and the safety to ask it.

Newsletter

Get the next one in your inbox.

New posts on backends, APIs and AI, and a note when a course opens. A few emails a month, no noise.

One click to leave, any time. Privacy