The Clean Architecture in Python
What it is
Brandon Rhodes' PyOhio 2014 talk on applying the Clean Architecture in Python. He shows how this high-level design pattern fits Python's features and addresses maintainability problems in large applications.
Why Hacker News recommends it
HN points to it as a practical way to separate business logic from I/O, which reduces mocking and underlies the functional core, imperative shell idea.
- 5 people recommended it
- 6 different months
- 1 strong recommendations
- first 2017, last 2021
What HN commenters said
“I'd really recommend this video.”
Changing architecture changes how you need mocks.
travisjungroth, 2021-03 · Strong recommendation · in “My Python testing style guide (2017)”
“there is also a better explanation of the same concept by Brandon Rhodes: The Clean Architecture in Python.”
Better explanation of clean architecture for Python programmers.
ceronman, 2017-04 · Recommendation · in “The Clean Architecture (2012)”
“in general I like Brandon Rhodes' PyCon talks”
Brandon Rhodes talk on layered architecture ideas.
chubot, 2017-06 · Recommendation · in “A theory of modern Golang”
“These are some of my favorites”
Listed among favorite Python talks.
samrohn, 2019-05 · Recommendation · in “Ask HN: What are some of the best Python related talks that you have watched”
“is the actionably good thing i've taken from Brandon Rhoades' talk based on this”
Talk's key idea is pushing I/O out to the edges.
hprotagonist, 2021-05 · Recommendation · in “It's probably time to stop recommending Clean Code (2020)”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: clean architecture, python, brandon rhodes, functional core, testing
Also recommended by the same people
explainerPrinciples for Dealing with the Changing World Order by Ray DalioPrinciples by Ray Dalio · 10 HN recommenders · 2022–2025
talkJohn Carmack Tech Talk with UMKC-SCEUMKC School of Science and Engineering · 3 HN recommenders · 2017–2023
talk"Data Driven UIs, Incrementally" by Yaron MinskyStrange Loop Conference · 4 HN recommenders · 2018–2022
talkMaybe Not - Rich HickeyClojureTV · 14 HN recommenders · 2018–2025
talkGopherCon 2016: The Design of the Go Assembler - Rob PikeGopher Academy · 3 HN recommenders · 2017–2025
talkRustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe DuffyConfreaks · 2 HN recommenders · 2017–2025
talkDtrace ReviewGoogleTalksArchive · 4 HN recommenders · 2013–2026
talk"Testing Distributed Systems w/ Deterministic Simulation" by Will WilsonStrange Loop Conference · 12 HN recommenders · 2014–2024