AI in software engineering
01 / 10

The push for AI

The hidden costs of AI in software engineering

Speed
Quality
Ownership
Introduction
02 / 10

The Technical and Economic Limits of AI-Driven Development

The industry is currently witnessing a massive divergence: while boardroom strategy is focused on a vision of autonomous productivity, the operational reality on the ground is grappling with the systemic friction of unvetted, machine-generated code.

The Corporate Push by the Numbers

88%

of organizations now use AI regularly, up from just 55% two years ago

McKinsey & Company

43%

of CEOs name AI as their #1 investment priority

The Conference Board, C-Suite Outlook 2026

59%

of companies invest over $1M annually in internal AI tools

Gartner, Top Strategic Tech Trends 2026

~1/2

of engineers say reviewing AI code requires more effort than human code

Harness, State of AI in Software Engineering 2025/2026

The ROI mirage
03 / 10

What management sees

Fast code gen Review time Maintenance Incidents

Non technical pressure

AI adoption is often pushed through visible speed metrics while engineering teams absorb the hidden quality risk.

Source

Harness, State of AI in Software Engineering. Engineering leaders report downstream quality and review pressure from AI generated code.

The tech lead bottleneck
04 / 10

Generation

10 sec

The code appears fast and complete.

Black box pull request

The author cannot explain the tradeoffs, hidden assumptions, or architectural impact.

Review

> 30 min

Review time for "hallucinations", un-optimized logic or architectural issues.

The saved time is actually just shifted (and multiplied) to other people in the team.

The isolated fix problem
05 / 10

Clean architecture

UI and API Service layer Core rules

AI injected shortcuts

UI and API Service layer Core rules Hack New lib Patch
Scalability trap
06 / 10

More context is not free

Giving the whole codebase to an AI increases cost, memory use, and latency as projects grow.

Codebase context size Cost, memory, latency Growth becomes expensive

Whole codebase context

A bigger prompt is not just a bigger text file. It increases computation, necessary context window, and API costs.

Lost in the Middle
07 / 10

"Lost in the Middle" Phenomenon

The article shows that models often retrieve information better at the beginning and end of a long input than in the middle.

Source

Lost in the Middle: How Language Models Use Long Contexts by Nelson F. Liu The result matters for codebases because important logic can sit anywhere inside a long context.

High recall Low recall High recall Beginning, middle, and end of a long prompt Retrieval quality Middle section
Long term economic impact
08 / 10

More code is not more value

Code churn signals rework, instability, and short lived changes.

Before AI With AI Lower Higher Short lived code

Technical debt compounds

GitClear analyzed over 150 million changed lines of code and reported a significant rise in churn code, which is a warning sign for maintainability.

Source

GitClear, Coding on Copilot. The report links AI assisted development with increased code churn and maintainability concerns.

The erosion of talent
09 / 10

The skill ladder

1

Struggle

The developer builds mental models through debugging and mistakes.

2

Understanding

Patterns, tradeoffs, and architecture become visible.

3

Ownership

The developer can explain and defend the solution.

The risk

Glue developers can connect components without understanding the system.

This weakens the future senior pipeline and makes live debugging harder.

Recommendation
10 / 10
1

Author ownership

If the developer cannot explain it, the team should not ship it.

2

Architecture first

AI output must follow the existing system instead of creating a parallel one.

3

Quality over volume

Measure stability, maintainability, and architectural coherence instead of raw output.

The goal is not to write more code.

The goal is to solve problems while maintaining understanding, ownership, and a coherent architecture.