hackertube.io

The Clean Architecture in Python

Next Day Video · talk · Watch on YouTube

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

  1. “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)”

  2. “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)”

  3. “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”

  4. “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”

  5. “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