WhoBuilt

The Infinite Software Crisis

Dec 20, 2025· 19 min· 397K views·Watch on YouTube

Speaker

Jake Nations, who spent the last few years helping drive AI tool adoption at Netflix, speaks at AI Engineer about how to use AI for code generation without losing understanding of the systems being built.

A software crisis at a new scale

Nations says AI tools have sped up work at Netflix: backlog items that took days can take hours, and long-delayed refactors are getting done. But code generation is outpacing engineers’ ability to understand the code. He traces earlier software crises through changes such as C, personal computers, object-oriented programming, Agile, and cloud computing, then connects them to today’s AI tools.

Easy work can create complex systems

Drawing on Rich Hickey’s distinction, Nations describes simplicity as clear structure and ease as whatever is close at hand. AI makes it easy to add code, but can also compound complexity. In his OAuth example, repeated chat-driven changes leave conflicting files, broken sessions, dead code, and tests altered just to pass.

AI preserves patterns without knowing their history

Nations says generated code can treat every existing pattern alike, including technical debt. He distinguishes essential complexity, such as fulfilling orders, from accidental complexity, such as workarounds and outdated abstractions. At Netflix, an AI agent struggled to replace an old authorization system because permission checks and role assumptions were tangled through business logic and hundreds of files.

Compress context into research, plans, and code

For a codebase of about a million lines of Java and a main service estimated at five million tokens, Nations found that providing large amounts of code alone did not reveal the system’s structure. He proposes three phases: use relevant documentation and diagrams to research dependencies, validate that analysis, then make a detailed implementation plan before generating code. He says his team first had to perform one authorization migration manually to uncover hidden constraints and give later AI work a concrete example.

Keep understanding and judgment with people

Nations argues that passing tests does not guarantee code will hold up in production or remain maintainable. Skipping thought can weaken engineers’ ability to spot complexity, a skill developed through experience with system failures. He says AI can speed up mechanical work, while people still need to understand requirements, identify the system’s seams, and validate changes.

Takeaways

  • Treat passing tests as one check; review whether generated code fits the system and can be maintained.
  • Separate business requirements from old workarounds before asking AI to refactor a tangled codebase.
  • Give AI relevant system context, then validate its research against the code and team knowledge.
  • Write a detailed implementation plan before generating code so reviewers can check concrete decisions.
  • For unfamiliar migrations, do an initial change manually to expose hidden constraints and edge cases.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks