1. Home
  2. The Pragmatic Engineer

Apr 8, 2025

Will AI make software design matter more?

John Ousterhout

81 min → 1:49

Overview

John Ousterhout explains how AI shifts software engineering from coding to strategic design, shares core principles for managing complexity, and critiques popular industry dogmas like Clean Code and Test-Driven Development.

3 things to know

Ousterhout: AI makes high-level design the top coding skill

John Ousterhout predicts that as artificial intelligence tools automate low-level coding, strategic, high-level software design is becoming the most valuable skill for engineers, even though traditional schools often neglect it.

▶ Watch at 0:45

Ousterhout says good software design hides complexity behind simple interfaces

John Ousterhout explains that the main goal of good design is to manage and hide complexity by building deep modules with simple interfaces that conceal heavy internal work.

More

This is primarily achieved by creating "deep modules", abstractions with simple interfaces that conceal significant internal complexity.

▶ Watch at 22:10

Ousterhout: Your second software design almost always beats your first

John Ousterhout says the first solution to a design problem is rarely the best, and forcing yourself to create a second option prompts deeper thinking that almost always produces a better result.

More

The first solution to a design problem is often the most obvious but rarely the best.

Also in this episode

Strict rules like short methods can hurt design, Ousterhout says

John Ousterhout argues that following a design philosophy works better than blindly following rules like short methods or Test-Driven Development, which can fragment code and hide the bigger picture.

More

Principles like "short methods" or Test-Driven Development (TDD) can be counterproductive if they lead to fragmented, tactical designs that obscure the strategic bigger picture.

Code never speaks for itself without good comments, Ousterhout argues

John Ousterhout insists that code can never fully speak for itself, making good comments essential to explain the reasons behind design choices, clarify tricky logic, and document interfaces for other developers.

▶ Watch at 1:05:24

Ousterhout says people learn software design by rewriting code

John Ousterhout views software design not as an innate talent, but as a skill people can systematically learn through creation, detailed feedback, and rewriting, much like an English composition class.

▶ Watch at 33:16

Great designers think like both builders and users, Ousterhout says

John Ousterhout notes that great designers have the empathy to shift perspectives, viewing an interface as both the builder and the end-user to make tools simpler and more powerful.

Quotes

“If the code could fully speak for itself, that would be wonderful... But it can't. And it never will.”

▶ Watch at 1:05:24

“It's the process of redoing something, I think, where you really internalize the feedback and the concepts.”

▶ Watch at 49:31

“the second idea is always better.”

▶ Watch at 22:10

2 more quotes

“I think software design is going to become more and more important.”

▶ Watch at 0:45

“They can change their mindset and think about things from very different points of views.”

▶ Watch at 33:16

Full summary

Episode Overview

  • The episode explores how AI will shift the software engineer's role from tactical coding to strategic design, making design skills more critical than ever.
  • John Ousterhout shares core software design philosophies, including the "second idea" principle for moving beyond obvious solutions and the goal of managing complexity by creating "deep modules."
  • The conversation details a practical methodology for learning design, modeled on writing classes, that emphasizes iterative feedback and rewriting code to internalize principles.
  • Ousterhout offers a critique of popular industry dogmas, such as those in Clean Code and Test-Driven Development (TDD), arguing for a more holistic, strategic, and comment-rich approach to design.

Key Concepts

  • The Primacy of Design: As AI tools automate low-level coding, the most valuable skill for software engineers becomes strategic, high-level software design, a subject often neglected in traditional education.
  • The "Second Idea" Principle: The first solution to a design problem is often the most obvious but rarely the best. Forcing yourself to develop a second, alternative design encourages deeper thinking and almost always yields a superior result.
  • Complexity Management: The central goal of good design is to manage and hide complexity. This is primarily achieved by creating "deep modules"—abstractions with simple interfaces that conceal significant internal complexity.
  • Design as a Teachable Skill: Software design is not an innate talent but a skill that can be systematically taught and learned through a process of creation, detailed feedback, and rewriting, much like English composition.
  • Philosophy over Dogma: It is more effective to follow a design philosophy than to dogmatically apply rules. Principles like "short methods" or Test-Driven Development (TDD) can be counterproductive if they lead to fragmented, tactical designs that obscure the strategic bigger picture.
  • The Necessity of Comments: Code can never fully "speak for itself." Good comments are essential for explaining the "why" behind design decisions, clarifying non-obvious logic, and documenting interfaces for other developers.
  • The Designer's Mindset: A great designer has the empathy to shift perspectives, thinking from the point of view of both the implementer and the end-user of an interface to create simpler, more powerful abstractions.

Quotes

  • At 0:45 - "I think software design is going to become more and more important." - Ousterhout's main prediction on how AI will elevate the need for strong design skills.
  • At 22:10 - "the second idea is always better." - Ousterhout explains that when he forces students to discard their first idea and create a second, the result is consistently an improvement.
  • At 33:16 - "They can change their mindset and think about things from very different points of views." - Ousterhout identifies the ability to shift perspectives (e.g., from an implementer to a user) as a crucial attribute of a great designer.
  • At 49:31 - "It's the process of redoing something, I think, where you really internalize the feedback and the concepts." - Explaining the key learning mechanism in his Stanford class.
  • At 1:05:24 - "If the code could fully speak for itself, that would be wonderful... But it can't. And it never will." - Arguing for the critical importance of comments in explaining the "why" behind code.

Takeaways

  • Elevate design over tactical coding; as AI handles routine implementation, your primary value will come from high-level, strategic architectural decisions.
  • To improve your designs, consciously discard your first idea and force yourself to develop a completely different alternative before moving forward.
  • Treat software design as a skill learned through rewriting and feedback, not as an innate talent. The most profound learning comes from reworking your code based on critique.
  • Prioritize a holistic design philosophy focused on managing complexity over dogmatically applying rules like "short methods" or TDD, which can lead to fragmented code.

Watch the full episode 1 hr 21 min

Read along with the audio summary

As artificial intelligence tools automate low level coding, John Ousterhout predicts that software design is going to become more and more important, even though it is a subject often neglected in traditional education. In this episode that came out on April 8, 2025, guest John Ousterhout shares his core software design philosophies. By the end, you will learn how to manage complexity, why you should rethink popular coding rules, and how to systematically improve your architectural skills.

You can future proof your engineering career by elevating strategic design over tactical coding. As artificial intelligence handles routine implementation, the software engineer's role will shift, making design skills more critical than ever. Your primary value will come from high level, strategic architectural decisions rather than low level coding, even though traditional education often neglects this subject.

To build those stronger designs, you can unlock a superior solution simply by throwing your initial plan away. The first solution to a design problem is often the most obvious, but it is rarely the best. When Ousterhout forces his students to discard their initial idea and create an alternative, he finds that the second idea is always better because the process encourages deeper thinking.

Developing better alternatives leads directly to the central goal of good design, which is hiding complexity so others do not have to deal with it. According to Ousterhout, this is primarily achieved by creating what he calls deep modules. Deep modules are abstractions with simple interfaces that conceal significant internal complexity.

Anyone can learn to build better software by treating code just like an English essay. Software design is not an innate talent, but a skill that can be systematically taught and learned. In his Stanford class, Ousterhout models the learning methodology on English composition classes, using a process of creation, detailed feedback, and rewriting code. He believes that the process of redoing something based on critique is where you really internalize the feedback and the concepts.

As you refine your work, following strict coding rules can actually make your software harder to understand. It is more effective to follow a holistic design philosophy than to dogmatically apply rules. Ousterhout critiques popular industry dogmas such as those in the book Clean Code, the rule of using short methods, and Test Driven Development (TDD). He argues these rules can be counterproductive if they lead to fragmented, tactical designs that obscure the strategic bigger picture.

Instead of relying on rigid rules, you can save future developers hours of confusion by writing down what the code cannot say. Ousterhout argues that it would be wonderful if code could fully speak for itself, but it cannot and it never will. Because of this, he favors a comment rich approach to design. Good comments are essential for documenting interfaces for other developers, clarifying logic that is not obvious, and explaining the reasoning behind design decisions.

Writing clear comments and interfaces requires adopting the secret mindset of great designers, which is the ability to step outside their own heads. Ousterhout identifies the ability to change your mindset and think about things from very different points of view as a crucial attribute of a great designer. By thinking from the perspective of both the implementer and the end user of an interface, a designer can create simpler, more powerful abstractions.

As artificial intelligence handles routine implementation, your primary value as an engineer will come from strategic architectural decisions that manage complexity. Discard your initial design ideas, embrace rewriting based on feedback, and remember regarding your code: "If the code could fully speak for itself, that would be wonderful... But it can't. And it never will."

More from The Pragmatic Engineer

Related Episodes