What if AI doesn't replace developers, but prevents the next generation from being hired?
Imagine a UK technology company employing 40 software developers. Management plans to recruit five junior engineers to support an expanding product portfolio. Instead, the company introduces AI coding assistants and asks its existing engineering team to absorb the additional work.
Nobody loses their job. Headcount remains unchanged. Revenue per employee may even increase.
But the five positions never appear.
This hypothetical scenario illustrates a potential consequence of artificial intelligence that conventional employment statistics struggle to capture. A company can reduce its demand for labour without making a single redundancy.
For junior software developers, the question is whether AI threatens existing jobs or changes the economic conditions under which new ones are created.
Is AI already replacing software engineers?
The available evidence does not establish that AI is replacing software engineers on a widespread scale. It does, however, suggest that younger workers in occupations exposed to AI face increasing employment pressures.
An August 2026 update from Stanford Digital Economy Lab examines US payroll records and identifies a widening gap between younger workers in occupations with high and low exposure to artificial intelligence.
By June 2026, employment among workers aged 22-25 in highly exposed occupations was approximately 19% below the level implied by employment growth among their less-exposed peers.
The adjustment appears to occur primarily through slower recruitment rather than increased employee departures.
The researchers caution that these findings do not establish a definitive causal relationship between AI adoption and employment decline. Nor does the 19% figure represent a reduction specifically among software engineers.
Nevertheless, the evidence raises a question that redundancy announcements cannot answer: how many employment opportunities are disappearing before recruitment begins?
Why junior developer jobs are under pressure
Entry-level software engineering traditionally provides a route through which graduates develop commercial experience. Routine coding assignments, bug fixes and testing allow junior developers to contribute while learning how production systems operate.
AI coding assistants can now perform or support many of these activities. This changes the calculation facing employers considering additional recruitment.
A separate Stanford working paper, How Does AI Change Labor Demand? Evidence from 41 Countries, examines changes in workforce composition associated with AI adoption.
The researchers find that overseas affiliates of AI-adopting companies experience a reduction in the proportion of junior employees relative to comparable organisations.
However, the change primarily reflects growth in senior employment rather than an absolute decline in junior employment.
Companies may still recruit junior developers while expanding their experienced engineering teams at a faster rate. The distinction matters when assessing whether artificial intelligence is replacing programmers or changing the distribution of employment opportunities.
The changing UK software engineering job market
British recruitment data also indicate difficulties for people entering the technology sector.
Research published by the National Foundation for Educational Research identifies a sharp decline in UK technology job advertisements since early 2022. Software development and programming roles are among those particularly affected.
The research finds approximately four advertised senior programming positions for every junior position.
A UK government analysis of entry-level hiring published in 2026 also identifies a 27% decline in its measure of entry-level software engineer hiring.
Neither finding establishes AI as the sole cause.
Economic uncertainty, reduced technology investment, international competition and the correction following pandemic-era recruitment can also influence hiring decisions.
Meanwhile, the Office for National Statistics reports that AI adoption among UK businesses with at least ten employees increased from approximately 12% in late 2023 to 35% by June 2026.
Despite increasing adoption, the ONS does not identify widespread reductions in overall workforce headcount.
Whether businesses are preserving existing jobs while reducing future recruitment remains a separate question.
AI coding assistants vs hiring junior developers
For employers, recruitment is an investment decision.
Hiring a junior software engineer involves salary, employer contributions, equipment, supervision and training. The expected return develops as the employee gains experience and becomes more productive.
AI coding assistants offer businesses additional development capacity through software expenditure. An experienced engineer may complete assignments that previously required support from another developer.
However, comparing an AI subscription with an employee's salary produces an incomplete financial picture.
The relevant comparison is the total cost of delivering reliable software.
Generated code requires review, testing and integration. Poor implementation can increase maintenance costs, introduce security vulnerabilities and accumulate technical debt.
If senior engineers spend additional time correcting AI-generated code, some of the apparent productivity gains may disappear.
Even where AI reduces development costs, businesses may reinvest the savings into new products rather than reduce recruitment.
The relationship between coding productivity and employment therefore depends on how companies allocate their resources.
The hidden economics of jobs that were never created
Employment statistics record existing jobs. They can identify redundancies, changes in workforce size and movements in advertised vacancies.
They cannot directly identify positions that a company would have created under different circumstances.
This potential effect can be described as foregone hiring.
A technology company may cancel planned recruitment after introducing AI coding tools. Another may increase output without expanding its engineering team. A third may use productivity savings to accelerate recruitment and business expansion.
Similar changes in headcount can conceal different economic decisions.
Establishing whether AI prevents new jobs from being created requires evidence from recruitment budgets, workforce plans and actual engineering performance.
Without this evidence, falling vacancy numbers alone cannot establish the scale of AI-related job displacement.
The future of software engineering
Will AI replace programmers entirely? The available research provides no reliable basis for predicting when, or whether, this might happen.
Software engineering extends beyond writing code. It involves understanding business requirements, designing systems, evaluating security risks and maintaining applications throughout their operational lives.
These responsibilities remain economically significant even when code generation becomes faster.
Learning to code therefore remains relevant, although the skills required to enter the profession may change. Developers increasingly need to understand how to evaluate generated code and recognise implementation errors.
There is also a longer-term workforce problem.
Senior software engineers acquire professional judgement through practical experience. If businesses substantially reduce junior recruitment, fewer developers may have the opportunity to accumulate that experience.
The UK government's Digital and Technologies Jobs Plan acknowledges this concern. Reducing entry-level opportunities rather than redesigning them could contribute to future shortages of experienced technology professionals.
Short-term recruitment savings may consequently create longer-term workforce costs.
What Prime Economist is investigating
Prime Economist examines the economic impact of AI on recruitment and software engineering productivity within UK technology companies employing approximately 10-500 people.
The research focuses on whether businesses cancel planned recruitment after adopting AI coding assistants, maintain stable engineering teams while increasing output, or expand their workforce as development capacity improves.
It also examines whether reported productivity gains remain measurable after accounting for code review, rework and software maintenance.
Understanding these decisions requires evidence from employers rather than assumptions based on technological capability.
The future of software engineering may depend as much on corporate recruitment strategies as on the capabilities of artificial intelligence itself.
The employment consequences of AI cannot be understood solely by counting the jobs already lost.
They may also be found in the jobs that were never created.