GOTO - The Brightest Minds in Tech

Clean Architecture with Python • Sam Keen & Max Kirchoff

10 snips
Feb 13, 2026
Sam Keen, founder and researcher and author of Clean Architecture with Python, brings 30 years of software and architecture experience. He discusses pragmatic Pythonic adaptations of clean architecture. They cover dependency management, onion-layer structure, testability as an architecture health signal, when to wrap third-party services, and how layered design works with AI-assisted development.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Focus On Thoughtful Dependency Management

  • Clean architecture centers on managing dependencies thoughtfully to avoid long-term 'dependency hell'.
  • Sam Keen frames clean as adaptable principles, not a rigid framework for Python developers.
ADVICE

Stick To Pythonic Tools And Pragmatism

  • Use Python-native tools like typing, protocols, and ABCs to keep designs Pythonic.
  • Thin down principles to your context instead of blindly applying every pattern.
INSIGHT

Strict Inside, Flexible Outside

  • The onion (bullseye) model enforces inward-only dependencies and isolates domain logic.
  • Focus first on internal domain and application layers; adapter/framework layers are more context-specific.
Get the Snipd Podcast app to discover more snips from this episode
Get the app