ctaio.dev Ask AI Subscribe free

AI Literacy / How Juniors Learn When Agents Write the Code

AI Literacy · POV

The Rung That Got Removed.

How juniors learn the trade when an agent writes the code.

Nobody decided to end the software apprenticeship. It was never a programme, so there was nothing to cancel. It was a by-product: juniors wrote imperfect code, seniors argued with the reasoning behind it, and the argument was the teaching. Move authoring to an agent and the artefact still gets made, the review still happens, and the loop still runs — but the feedback now lands on nobody's reasoning. This is not a question about whether juniors have a future. It is a question about where the seniors of 2032 come from, and it belongs to whoever is running an engineering organisation today.

How juniors learn the trade when an agent writes the code: the apprenticeship rung

30-SECOND POV

  • The apprenticeship was a by-product, not a programme. Which is why it can disappear without anyone approving its removal, and why nobody currently owns replacing it.
  • Inspection is not construction. Reviewing generated output builds judgment about outputs. It does not build the model of how a system is assembled, and that model is what seniority actually is.
  • The bill arrives in year six, and money will not settle it. Seniors are grown on a five-to-eight-year lead time. Every organisation cutting the bottom rung at once will bid for the same short cohort at the same moment.

What was actually doing the teaching

It is worth being precise about the mechanism, because the loose version of this argument ("juniors learn by writing code") is easy to dismiss and slightly wrong. Writing code was not the teacher. The teacher was a specific loop: a junior committed to a decision, a senior contested that decision, and the junior had to either defend it or rebuild with the objection absorbed. What transferred in that exchange was not syntax. It was the senior's model of which tradeoffs matter, delivered at the exact moment the junior had skin in the outcome.

That loop needed the junior to have made the decision. Not to have typed it, made it. Everything that makes review pedagogically expensive for the senior and valuable for the junior comes from that one property, and it is the property that generated code removes, silently and completely.

FOUR STEPS, ONE LADDER

The apprenticeship loop, before and now

Read the "now" column as a description, not a complaint. Every one of these changes is a real efficiency. The question is what it costs and whether anyone has priced it.

01

Write something imperfect

Was: The junior produced a first attempt that carried their own reasoning, visibly, including the parts that were wrong.

Now: The first attempt is generated. It carries no reasoning to inspect, and the wrong parts are indistinguishable from the right ones by style.

02

Have the reasoning critiqued

Was: A senior argued with the decision, not just the diff. This is the step that actually taught.

Now: The critique lands on output nobody authored. There is no one to defend the choice and nothing to revise a model of.

03

Revise and internalise

Was: The junior rebuilt it with the correction absorbed, which is how the model got updated.

Now: The correction is applied by re-prompting. The artefact improves; the person may not.

04

Do it unsupervised

Was: Competence demonstrated by building something alone. The promotion signal was legible.

Now: Hard to observe. Everyone can produce output alone, so output volume stops distinguishing anyone.

Inspection has a ceiling, and it is lower than it looks

Training juniors to review generated code is the obvious response and it is a good one as far as it goes. Reviewing is a real skill, it is increasingly the job, and someone who is excellent at it is valuable now. The limit is specific rather than general: an inspector who has never built the thing eventually stops being able to see a whole class of defect, because the defects that matter most are the ones that are only visible if you know what the alternative would have been.

A missing index, a retry that will stampede, a schema that forecloses next year's feature: none of these look wrong on the page. They look like ordinary code. They register as wrong to someone who once made the opposite choice and lived with the consequence. That is the part inspection cannot teach, and it is the part that separates a reviewer from an engineer.

Why this is a CTO problem, not a career-advice problem

The version of this discussion aimed at juniors — should I worry, what should I study — is a different question with a different answer, and this site covers it separately in will AI replace junior developers. The organisational question is the one with nobody's name on it.

Consider the timing. A hiring pause on juniors produces no visible harm in year one, mild benefit in years two and three, and a shortage in year six that cannot be resolved by paying more, because every peer organisation made the same decision in the same eighteen months and is now bidding against you for a cohort that was never trained. Individually rational, collectively expensive, and structurally invisible until it is not. Meanwhile the same pressure is running inside the organisation: capability is built by doing, not by hearing about it, and the doing is what got automated.

A separate cost lands sooner. If the promotion signal used to be "built something hard alone" and everyone can now produce output alone, the signal stops discriminating. Organisations that do not replace it will promote on output volume by default, which is the one metric generated code inflates for free.

Four moves that keep the rung

Each of these costs velocity. That is not an objection to them, it is the point: the apprenticeship was always paid for out of velocity, invisibly, and the only thing that changed is that the invoice now has to be signed deliberately.

Reserve a class of work as human-authored. Chosen because it teaches, not because AI cannot do it. The second criterion is the trap: it shrinks every quarter and encodes the assumption that the point was output rather than learning.

Make the junior commit before the agent does. Have them state the design decision and defend it verbally, then let the tool implement it. This restores the one property that made review teach — the reasoning under critique is theirs — and it costs about fifteen minutes.

Review the judgment, not only the diff. The senior's question stops being "is this code correct" and becomes "why did you accept this, and what did you check". That question is answerable only by someone who thought about it, so it also detects when nobody did.

Measure the pipeline as an output. How many people moved a level this year, and how many seniors did the organisation grow rather than hire. An untracked number is an unmanaged one, and this is the first thing surrendered under delivery pressure precisely because its absence is not felt for years.

Juniors and Agent-Written Code: FAQ

How do junior engineers learn when an agent writes the code?
Not the way they used to, because the mechanism that taught them has been quietly removed. Juniors did not learn primarily from courses or from reading code. They learned from a loop: write something, have a senior critique the reasoning behind it, and revise. The critique landed on their own decisions, which is what made it teach. When an agent authors and a human only accepts or rejects, the loop still exists but the feedback now lands on someone else's reasoning. That builds judgment about outputs, which is genuinely useful, and does not build a model of construction, which is what seniority is made of. The learning has not become impossible; it has stopped happening as a by-product of the work, which means it now has to be deliberately arranged.
Is code review still an apprenticeship if AI wrote the code?
It becomes a different exercise with a similar shape, and the difference matters. Reviewing a colleague's pull request taught you to reconstruct their intent, argue with a person who could defend the choice, and absorb the tradeoff they were making. Reviewing generated output teaches you to spot defects in something nobody will defend, explain, or remember writing. The first is a conversation; the second is an inspection. Inspection is a real skill and worth training. But a reviewer who has never had to build the thing they are inspecting eventually reaches the limit of what inspection can see, because the errors that matter most are the ones that require knowing what the alternative would have been.
Why should a CTO care about junior developer training if AI is faster?
Because seniors are grown, not procured, and the lead time is five to eight years. A hiring freeze on juniors does not show up as a problem in the year it is made. It shows up in the year the current seniors leave and there is nobody who came up behind them, and at that point the shortage cannot be fixed with budget, because the market is short for the same reason you are. Every organisation that cut the bottom rung simultaneously is bidding for the same undersupplied cohort. The industry-wide version of this is worse than the company-level version: the whole sector is running the same experiment at the same time, and nobody has arranged for a control group.
What can engineering leaders do to keep the apprenticeship rung?
Reserve work rather than exhort. Four moves that cost real velocity and are therefore worth naming in a plan rather than leaving to goodwill. First, ring-fence a class of work as human-authored on purpose, chosen because it teaches, not because AI cannot do it. Second, require juniors to defend a design decision verbally before accepting a generated implementation of it, which restores the critique-on-your-own-reasoning loop cheaply. Third, make seniors review the junior's judgment about the output rather than only the output. Fourth, measure the pipeline as an output: how many people moved a level this year. If that number is not tracked, it is not managed, and it is the first thing sacrificed under delivery pressure.
Does this mean juniors should avoid using AI tools?
No, and an organisation that told them to would be training people for a job that no longer exists. The instruction that works is narrower: use the tools, and periodically do the thing the tools do, deliberately and on purpose, in order to keep the model of how it works. The parallel is a pilot who flies on autopilot for most of a career and still practises manual approaches, not because the autopilot is unreliable but because the day it disengages is the day the practice is needed. The goal is not abstinence. It is making sure the person can still form a hypothesis about why something broke when the generated answer is wrong and confident.

Continue the AI literacy cluster

Capability is built by doing. The doing is what got automated.

·
Thomas Prommer
Thomas Prommer Technology Executive — CTO/CIO/CTAIO

These salary reports are built on firsthand hiring experience across 20+ years of engineering leadership (adidas, $9B platform, 500+ engineers) and a proprietary network of 200+ executive recruiters and headhunters who share placement data with us directly. As a top-1% expert on institutional investor networks, I've conducted 200+ technical due diligence consultations for PE/VC firms including Blackstone, Bain Capital, and Berenberg — work that requires current, accurate compensation benchmarks across every seniority level. Our team cross-references recruiter data with BLS statistics, job board salary disclosures, and executive compensation surveys to produce ranges you can actually negotiate with.