Junior developers and AI: how they learn the craft now

Stefan-Iulian Tesoi · · 6 min read

A small cast-iron block plane on a workbench with curls of wood shavings and a chisel behind it, a hand tool woodworkers still learn on although machines do most of the cutting

By reviewing and explaining more than by typing. A junior who only accepts a coding agent's output learns to prompt and stops there. Juniors learn when they predict what a change will do before running it, explain an agent's diff in review, and still write a few small items by hand. That now has to be planned; it used to happen by accident.

Most talk about junior developers and AI asks whether juniors still have jobs. For a team that has them, the useful question is how they get good, because the routine tickets that used to teach them are the first ones agents take.

What did junior developers learn from typing the code?

Mostly things nobody set out to teach. A routine ticket, such as adding a field or fixing an off-by-one, sent a junior through five files they would not otherwise have opened. Every compile error and failing test was feedback on one specific belief, delivered in seconds.

That loop has the shape of what Anders Ericsson called deliberate practice: work just past current ability, immediate feedback, repetition. Routine tickets were never designed as practice, but they worked as practice, and onboarding plans leaned on them without saying so. "Start on a few small bugs" was the whole plan at many teams.

The junior developer skills built that way were specific:

Engineering team structure when agents write the code describes the hours moving from typing to specifying and reviewing. For a junior, the learning moved with them.

Why does accepting agent output teach so little?

Because the feedback goes to the agent, not to the junior. When a coding agent hits an error, it reads the message and fixes it, and the junior sees only the green result. The loop that taught still runs, inside a tool.

Anthropic measured this in a randomised trial published in January 2026. Fifty-two mostly junior engineers learned Trio, a Python library for asynchronous code that none of them knew, half with an AI assistant and half without. The AI group finished about two minutes faster, a difference that was not significant. On a quiz afterwards it averaged 50%, against 67% for the group that coded by hand.

The widest gap was on debugging questions. The authors' explanation is that the hand-coding group hit more errors and had to resolve them, which is the practice the other group skipped.

How the assistant was used mattered as much as whether. Participants who handed the whole task to the AI scored lowest, under 40% on average. Those who asked for explanations or posed conceptual questions while writing the code themselves kept much more of the learning. It is one library, one session and 52 people, and the authors say so. The skill that fell furthest is still the one a person needs to oversee an agent.

A junior who never debugs their own mistakes becomes a senior who cannot debug an agent's.

Junior developers and AI: practice that builds judgement

What works is practice that makes the junior commit to an answer before the machine gives one. Four exercises do that, and none needs a new tool.

ExerciseHow it runsWhat it builds
Predict, then runWrite down what the agent's change will do, then run it and compareA model of the system, corrected by being wrong
Explain the diffWalk a senior through an agent's pull request before it is approvedCode reading, and distrust of summaries
Write the itemWrite the item an agent will execute, criteria included, and own the resultKnowing what a change must do before how
Debug by hand firstSpend 30 minutes diagnosing a failure before asking the agentDebugging, the skill the trial saw fall furthest

Explaining the diff builds on how review changes when the author is a machine. AI code review treats the agent's summary as a claim and the diff as the evidence, and a junior who learns to read an agent's change that way learns the codebase as a side effect.

Writing the item teaches through the result. The exercise in teaching a team to write executable items hands each person's own item, unedited, to an agent, and what comes back shows exactly what the writer left out. Juniors learn more from that than seniors do, because they leave more out.

Learning to code with AI agents works when the junior asks the agent why rather than only what. The trial's higher scorers used the assistant as a tutor, and it answers patiently at any hour, which no senior does.

Which work should a junior still write by hand?

Small, bounded items in the part of the system the junior is learning, chosen for what they teach rather than for urgency. One item in five is a workable starting ratio. A good hand-written item touches code the junior will later review, has a test that fails first, and fits in a day.

Bugs are better practice than features, because the work is the diagnosis. Give juniors the bug items, and let them find the cause before an agent writes the fix. The fix is often three lines; the hour spent finding which three is the lesson.

Keep hand-written work off the critical path. An item someone is waiting for is one where a junior will be told to "just use the agent", and the practice disappears the first time a deadline appears.

What should seniors and managers change?

Mentoring junior engineers moves from pairing at the keyboard to pairing on review and specification, and it needs budgeted time. A senior who used to explain in a pairing session now explains in review. An agent's pull request reviewed first by a junior and then by a senior is both a check and a lesson, and costs the senior roughly fifteen extra minutes.

Onboarding needs rewriting rather than abandoning. "Fix a few small bugs in your first month" still works, provided the junior fixes them. Write the rest down: which items are hand-written, whose agent pull requests the junior reviews first, and what a junior must be able to explain before using agents on their own items.

Managers have to change what they count. A junior's merged changes, with an agent doing the typing, measure the agent. Count instead how often their review of an agent's change catches something real, and how often their items come back right the first time.

In Laimonade, work a coding agent hands back waits in In Review with its evidence attached. That queue is a ready-made first-pass review rota for juniors, ahead of the senior who approves.

Frequently asked questions

Should juniors be kept off agents for their first months?

No, but their first weeks should include work without one. A ban teaches a workflow the team does not use, and juniors will use agents anyway. A workable split is two or three weeks of reading the system and hand-written items, then agents on their own items once they can explain an agent's diff to a reviewer unprompted.

How long should a junior's ramp-up take now?

About as long as before, often three to six months to independent work, but the milestones differ. Merged code is no longer evidence of progress, because an agent produces it in week one. Track when the junior first catches a real defect in an agent's pull request, and when their own items stop coming back for rework.

How do you tell whether a junior understands a change?

Ask them to predict rather than recite. Before a change runs, ask what it will do to a case nobody tested, or which existing test should fail if it is wrong. A junior who understands answers specifically and is sometimes wrong. One who does not answers with the pull request description.