The Clean Architecture in Python
Channel:Next Day Video · Length:49:53 · Published:2014-08-09 · Views:114730
Summary
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 HN 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.
I'd really recommend this video. — HN, 2021
Python, Ruby & scripting languages · Software architecture & design · Testing, debugging & developer tools
Subtitles (excerpt)
all right everybody Welcome to glad you've hung in there to the second Afternoon Of Pi Ohio I'm Brandon rhods when I'm not uh writing python apis or writing python applications I'm wondering why the code in my apis and applications is such a mess the industry as a whole I'm told that at the moment the numbers are hard to find that more software projects even to this day uh more projects fail than succeed worldwide in businesses and institutions and uh as an industry we're still explaining uh we're still trying to learn uh why uh a piece of that puzzle I think is the recent work that's been done in propounding the clean architecture and I'm going to give some uh examples of how I believe that applies to python uh the inspiration for this talk is uh uh uh someone called Uncle Bob Martin who is uh he's really big in the Java and the um strong object-oriented uh statically type languages and he recently in 2011 and 12 was thinking about a new way of organizing his code his um uh applications that he called the clean architecture one of several ideas that came out at about the around the same time uh with about the same goal but his became more popular because I think he drew a better picture um there was
On Hacker News
I'd really recommend this video. I had seen it years ago and just came back to it. It's about changing your architecture, one of the effects of that being changing how you need/use mock. [VIDEO] — travisjungroth, 2021-03
"Promote I/O to management (where it can't do any damage)" is the actionably good thing i've taken from Brandon Rhoades' talk based on this: [VIDEO] Living in a world where people regularly write single functions that: 1. loads data from a hardcoded string path of file location 2. does all the analysis inside the same loop that the file content iteration happens in and 3. plots the results ... th… — hprotagonist, 2021-05
These are some of my favorites: Clean Architectures in python: [VIDEO] Pandas from ground up: [LINK] How to write actually object-oriented python: [LINK] It's Time to Learn Regular Expressions: [LINK] — samrohn, 2019-05
This is the same principle of the Clean Architecture. I like how Brandon Rhodes explain how to apply it in Python: [VIDEO] — ceronman, 2018-09
I was going to write that I don't have a good pointer, but actually I think the idea is basically the "onion architecture" or "clean architecture". I don't recall if I watched all of this talk, but in general I like Brandon Rhodes' PyCon talks : [VIDEO] [LINK] I don't come from a Java background, but I think that many of these ideas originated in the Java community. They came to Python later (if … — chubot, 2017-06
Related videos
- Principles for Dealing with the Changing World Order by Ray Dalio · Principles by Ray Dalio · 43:42
- John Carmack Tech Talk with UMKC-SCE · UMKC School of Science and Engineering · 1:20:28
- "Data Driven UIs, Incrementally" by Yaron Minsky · Strange Loop Conference · 36:18
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- GopherCon 2016: The Design of the Go Assembler - Rob Pike · Gopher Academy · 23:56
- RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe Duffy · Confreaks · 42:45
- Dtrace Review · GoogleTalksArchive · 1:18:02
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 2017 ACM PPoPP Keynote: It's Time for a New Old Language · Guy Steele · 1:12:12
- Travis Oliphant: NumPy, SciPy, Anaconda, Python & Scientific Programming | Lex Fridman Podcast #224 · Lex Fridman · 3:05:24
- Armin Ronacher - A Python for Future Generations · EuroPython Conference · 42:43
- The Secret History of Silicon Valley · Google TechTalks · 56:32
- A Narrative History of BSD, Dr. Kirk McKusick · bsdconferences · 53:54
- Rich Hickey rants about HttpServletRequest in 1080p: Death By Specificity from Clojure Made Simple · Fred Overflow · 4:56
- The Language of the System - Rich Hickey · ClojureTV · 1:02:49
- Cosmos - Carl Sagan - 4th Dimension · carlsagandotcom · 7:23
- The Hyperbolic Geometry of DMT Experiences (@Harvard Science of Psychedelics Club) · Qualia Research Institute · 1:06:15
- Anders Hejlsberg on Modern Compiler Construction · Kasper · 34:09
- How a transistor works · Ben Eater · 11:23
- A Better Default Colormap for Matplotlib | SciPy 2015 | Nathaniel Smith and Stéfan van der Walt · Enthought · 19:08