Engineering leadershipOctober 30, 202612 min read

Why senior engineers are still essential in the age of AI

The layoffs were supposed to prove that AI could replace engineers. The rehiring, the review queues and the data tell a messier story: AI writes more code, but senior engineers and designers still own whether it works.

Share

The layoffs were supposed to settle the argument. In 2022 and 2023, Meta cut 21,000 roles, and much of the industry read the move as a verdict: AI could do more of the work, so fewer engineers were needed.

Then something less tidy happened. Companies started hiring again. Some brought back the same people they had let go. Others discovered that the work they had removed was not the work they thought it was.

The lesson is not that AI failed. It is that the bill for software was never just the cost of typing code. It is the cost of deciding what to build, reviewing what was generated, keeping the system coherent, and making sure a real person can use it. AI is changing the first part of that list. It has not taken over the rest.

The rehiring cycle has already started

In August 2023, after cutting 21,000 roles, Meta reportedly rehired dozens of former employees into engineering and technical positions (Entrepreneur, 2023). It was a small number against a very large cut, but the direction mattered: the work had not disappeared.

Klarna is a clearer example of the reversal. In February 2024, the company said its AI assistant had handled 2.3 million conversations in its first month, roughly the workload of 700 customer service agents. By May 2025, CEO Sebastian Siemiatkowski was hiring human agents again. The reason was not that the chatbot could not answer questions. It was that the quality of the experience was lower, and customers needed the option of a human (Entrepreneur, 2025).

IBM made a similar correction from the other direction. In 2023, CEO Arvind Krishna said the company planned to pause hiring in back-office functions it expected AI to replace. In March 2025, he estimated that AI would write 20–30% of code, not 90%, and argued that the technology would make programmers more productive rather than eliminate them (TechCrunch, 2025).

None of these stories proves that AI is useless. Meta still runs lean. Klarna still uses automation. IBM still sells AI tools. What they show is that the simple equation — fewer people plus more AI equals the same output — keeps colliding with the parts of engineering that were never about producing code.

AI lowered the cost of writing code, not the cost of owning it

The strongest case for AI is real. In a controlled GitHub study, developers completed a well-defined task about 55% faster with Copilot than without it (GitHub, 2022). That is a genuine productivity gain, and it is why the tools spread so quickly.

The harder question is what happens on real work. In a 2025 randomized trial, 16 experienced open-source developers worked on 246 real issues in their own repositories. When AI was allowed, they took 19% longer — even though they believed the tools had sped them up by about 20%. The authors describe the result as a snapshot of early-2025 tools in one demanding setting, not a universal verdict on AI (METR, 2025).

Developer surveys point at the same friction. In Stack Overflow’s 2025 survey of more than 33,000 developers, 84% were using or planning to use AI tools, but 46% actively distrusted their accuracy and only 33% trusted it. The most common frustration, cited by 66%, was AI that produced a solution that was “almost right, but not quite.” Another 45% said debugging AI-generated code took more time than debugging code they wrote themselves (Stack Overflow, 2025).

That is the shape of the new bottleneck. The code arrives faster. The verification does not.

When developers were asked what would still make them seek out another person in a future where AI can do most coding tasks, 75% said they would ask someone when they did not trust AI’s answers. 61.7% said they would ask when they had ethical or security concerns. The need for human judgment does not disappear as generation gets cheaper. It concentrates.

The new job is correcting plausible code

AI code rarely fails in an obvious way. It fails plausibly. The function has a sensible name. The endpoint returns the right shape. The happy path works. The problem is that the authorization check is missing, the retry logic can duplicate a payment, or the same abstraction has now been implemented three different ways.

GitClear’s analysis of 211 million changed lines from 2020 to 2024 found that refactoring-associated lines fell from 25% of changed code in 2021 to less than 10% in 2024. At the same time, copy-pasted code rose from 8.3% to 12.3% (GitClear, 2025). More code was being added. Less of it was being restructured.

That is precisely the work senior engineers do. Restructuring is not cosmetic. It is how a codebase stays understandable when the team changes, the product grows and the next incident arrives at an inconvenient hour.

The same pattern shows up in delivery performance. Google’s DORA research found that AI adoption significantly increases individual productivity, flow and job satisfaction — but also negatively affects software delivery stability and throughput. The report’s conclusion is not “use less AI.” It is that fundamentals such as small batch sizes, testing and review matter more, not less, when generation gets cheap (DORA, 2024).

Security is the sharpest version of the problem. Veracode tested more than 100 large language models across Java, Python, C# and JavaScript. 45% of the generated samples failed security tests and introduced OWASP Top 10 vulnerabilities. Java failed 72% of the time. Cross-site scripting defenses failed in 86% of relevant samples. Newer and larger models were better at producing functional code, but not better at producing secure code (Veracode, 2025).

A senior engineer correcting AI output is doing several jobs at once:

  • Restructuring: removing duplicate abstractions and deciding where the real boundaries belong.
  • Review: spotting the change that passes tests but violates an unwritten invariant.
  • Security: checking authorization, data boundaries, dependency risk and error handling.
  • Testing: replacing tests that assert what the model produced with tests that assert what the product requires.
  • Deletion: removing code that is plausible, unused and expensive to keep.
  • Documentation: writing down the decisions that used to live in the room.

None of that is typing. It is judgment applied to a system that someone will have to own after the demo.

Layoffs remove context, not just headcount

When experienced engineers leave, the code does not disappear. The context does: why the retry logic is shaped that way, which service is safe to restart, which customer depends on the strange export, and which warning in the logs is noise.

Rehiring can bring some of that context back. It cannot recreate the decisions that were never written down. A boomerang hire is a repair, not a strategy. The cheaper move is to keep enough senior ownership in place that the system remains legible while it changes.

This is not an argument for keeping every role forever. It is an argument for being honest about what leaves with a senior engineer: judgment, context and the ability to say “this will work” or “this will hurt” before the cost is visible.

Design and UX are where “almost right” gets expensive

The same correction is happening in design, only more quietly. AI can produce a screen in seconds. It can produce twenty variants by lunch. What it cannot do is decide which one a real customer will trust, understand or be able to use under pressure.

Figma’s 2025 survey of 2,500 designers and developers found that 78% agreed AI significantly improves the efficiency of their work, but only 32% said they could rely on its output. Designers were measurably more skeptical than developers: 54% said AI improved the quality of their work, compared with 68% of developers. And 52% of people building AI products said design is more important for AI-powered products than for traditional ones; 95% said it was at least as important (Figma, 2025).

That is not a contradiction. It is a description of where the value sits. Generation is abundant. Taste, research and accountability are scarce.

Accessibility makes the point concrete. WebAIM’s 2026 analysis of the top one million home pages found that 95.9% had detectable WCAG 2 failures, with an average of 56.1 errors per page. Low-contrast text appeared on 83.9% of pages; 51% had missing form labels. The report notes that home pages are getting more complex, and explicitly connects the rise in errors to automated and AI-assisted coding practices (WebAIM Million, 2026).

An AI-generated interface can look finished and still exclude people. A human designer is still the one who runs the research, maps the flow, checks the contrast, writes the error states, tests with assistive technology and decides what the brand is allowed to feel like.

DORA’s 2024 research adds the business case: organizations that prioritize the end-user experience build higher-quality products, and developers working with a user-centric mindset are more productive, more satisfied and less likely to burn out. The differentiator is not the number of screens generated. It is whether someone owned the experience.

This is also why “artistic” work is not decoration. In a market where every generated interface converges on the same safe patterns, brand, craft and point of view become the things people remember. That work requires a human with taste, context and the authority to say no.

What good AI adoption looks like

The teams getting value from AI are not the ones generating the most code or the most screens. They are the ones with the strongest review, ownership and research habits.

  • Use AI for drafts, tests, documentation, migrations, exploration and variants — not as the final authority.
  • Keep changes small enough to review properly, with a human owner for every merge.
  • Invest in tests, observability and rollback plans so mistakes are cheap to detect and reverse.
  • Measure outcomes: incidents, cycle time, change failure rate, rework and maintainability — not lines of code.
  • Pair less experienced engineers with senior review, not just a coding assistant.
  • Put design, accessibility and content review in the definition of done, not in a later cleanup phase.
  • Write decisions down. The context that used to live in the room has to live somewhere durable.

The goal is not to slow AI down. It is to make the speed usable. A team that ships twice as much code and spends three times as long fixing it has not become more productive. It has moved the work.

What this means for hiring

If you are hiring in an AI-heavy market, the premium is on judgment. You still need people who can build. You especially need people who can tell the difference between code that works today and a system that will still work after the next release, the next hire and the next incident.

For a senior engineer, the interview question is no longer “can you write this?” It is “can you tell me why this is wrong, what you would delete, and who will own it?” For a designer, it is not “can you make this screen?” It is “how do you know a real person can use it, and what did you learn from the people who could not?”

If you are hiring an agency or a contractor, ask the same questions. Who reviews AI output? Who owns the architecture? How is accessibility tested? What gets measured after launch? A team that cannot answer those questions is selling generation, not engineering.

A senior engineer with AI leverage can cover more ground than before. A team without senior judgment can generate more code than it can safely own. Those are very different outcomes, even if the pull request count looks the same.

Data and sources

The claims in this article come from the following primary sources and reports. Links open in a new tab.

One caveat matters. A single study, survey or company story is not a law. The strongest conclusion is also the least dramatic: AI is genuinely useful, and it shifts the bottleneck from production to judgment. The organizations that understand that will hire for the judgment.

FAQs

Common questions

Are companies really rehiring engineers because of AI?

Some are. Meta reportedly rehired dozens of laid-off employees into engineering and technical roles in 2023. Klarna reversed an AI-first customer service strategy and began hiring humans again in 2025. IBM’s CEO also walked back his earlier suggestion that AI would replace programmers. The pattern is not a full reversal of the layoffs; it is a correction to the assumption that AI removes the need for experienced ownership.

Will AI replace senior software engineers?

AI can replace some code-writing tasks, but it cannot own architecture, security, trade-offs or the consequences of a production system. Senior engineers are likely to become more valuable as code generation gets cheaper, because judgment, review and accountability become the bottleneck.

Can we just use AI with junior engineers?

Junior engineers still need review and mentorship. AI can help them move faster, but without senior review the team can accumulate plausible code that nobody understands. The combination that works is AI plus strong review, tests, security checks and clear ownership.

How do you measure a senior engineer’s impact?

Look at incident frequency and recovery, change failure rate, review quality, architecture decisions, onboarding speed, rework and the amount of context the team can recover without asking one person. Lines of code and ticket count are weak proxies.

Where does AI actually help in design and UX?

AI is useful for exploration, first drafts, variants, content drafts, research synthesis and catching some accessibility issues. It is not a substitute for user research, information architecture, interaction judgment, brand taste or decisions about risk, trust and ethics.

What should companies do before cutting senior roles?

Map the systems and decisions that depend on those people, document the context, identify who owns each critical path, and test whether the remaining team can operate and evolve the system without them. Measure rework, incidents and review capacity, not just payroll savings.

Next step

Tell me what you are building.

Hire me to design and build it, or review the work first.

Specs not ready yet?

Start with a project brief.

Use the free tool I created to turn your idea into a clear, private project brief, or see the live demo first.