Clean Architecture with Python • Sam Keen & Max Kirchoff • GOTO 2025

Clean Architecture with Python • Sam Keen & Max Kirchoff • GOTO 2025

🎙 Sam Keen & Max Kirchoff 👥 1.1M 📅 December 18, 2025 ⏱ 36 min 👁 3K 📄 expert opinion 🧭 2026-08-02
Available in: English (current) Français

Keywords

Clean ArchitecturePythonDependenciesOnion ArchitectureTestingAI-assisted codingDomain modelingSOLIDType hintsPragmatism

Summary

In this GOTO Book Club interview, Max Kirchoff talks with Sam Keen about his book ‘Clean Architecture with Python’. Sam, a software developer with nearly 30 years of experience, explains how he adapted Robert C. Martin’s Clean Architecture principles to the Python ecosystem, emphasizing pragmatism and avoiding turning Python into Java. He discusses the core idea of managing dependencies thoughtfully, the onion model with a strict inside and flexible outside, and the importance of testing for maintaining healthy architecture. Sam also addresses the role of clean architecture in the age of AI-assisted coding, suggesting that clear boundaries and domain modeling become even more valuable. The conversation highlights that clean architecture is not an all-or-nothing approach but a set of principles to adapt to context. Sam shares his motivation for writing the book, the balance between theory and code, and the companion GitHub repository. The interview concludes with key takeaways, emphasizing the value of starting with the inner layers and focusing on domain modeling.

163 words

Critical Evaluation

The interview provides a valuable and insightful discussion on applying Clean Architecture principles in Python, a topic that is often overlooked in favor of Java or C#. Sam Keen’s extensive experience lends credibility to his pragmatic approach, which avoids dogmatic adherence to patterns and instead focuses on the core value of dependency management and clear domain modeling. The conversation successfully bridges theory and practice, with concrete examples and references to established concepts like the Onion Architecture and the Test Pyramid. However, the discussion remains at a high level, lacking detailed code examples or empirical evidence to support the claims. The emphasis on testing is well-founded, but the interview does not delve into specific testing strategies or metrics. The segment on AI-assisted coding is forward-looking and relevant, but it remains speculative without concrete case studies. Overall, the content is reliable and well-argued, though it would benefit from more depth and evidence. The title accurately reflects the content, and the interview format allows for a natural exploration of the topic. The presence of a brief sponsorship segment does not detract from the quality of the discussion.

184 words

Title / Content Match

The title accurately reflects the content: an interview about applying Clean Architecture principles in Python.

Quality & Reliability

8/10

The discussion is based on the author's extensive 30-year experience and practical application, with references to established concepts (e.g., Uncle Bob's Clean Architecture, Test Pyramid). The claims are pragmatic and acknowledge trade-offs, but lack empirical data or formal validation.

Chapters

Cited Sources

  • GOTO Book Club — The interview was recorded for the GOTO Book Club.
  • Episode page — Additional information about this interview.
  • Test Pyramid — Referenced in the context of testing and architecture.
  • Sam Keen's website — Author's personal website.
  • Max Kirchoff's website — Interviewer's personal website.

Concurring Sources

  • Clean Architecture (Robert C. Martin) — The book is based on these principles.
  • Onion Architecture — The onion model is discussed in the interview.

Dissenting Sources

  • Criticism of Clean Architecture — Some practitioners argue that Clean Architecture can introduce unnecessary complexity for small projects, a point not fully addressed in the interview.

External References

Contribution & Novelties

The interview provides a fresh perspective on applying Clean Architecture in Python, emphasizing pragmatism and adaptability. It highlights the importance of dependency management and domain modeling, and discusses the implications of AI-assisted coding for architecture.

Pour aller plus loin :

  • Clean Architecture (Robert C. Martin) — Foundational concepts.
  • Onion Architecture — Related architectural pattern.
  • Domain-Driven Design — Principles for modeling complex domains.
  • Test Pyramid — Testing strategy referenced in the interview.

71 words

Radar Profile

The radar profile shows balanced scores across information quantity, quality, technical depth, and reliability, indicating a well-rounded discussion with practical insights and credible sources, though not exhaustive in technical detail.

Reliability 7/10