In this series, I talk about design patterns and principles and show you how you can use them to improve the quality of your code. All examples are in Python.
Curated by: ArjanCodes (99 videos)
🧱 Build software that lasts. Join the Software Design Mastery waiting list → https://arjan.codes/mastery. In this video, I refactor a travel booking workflow to show how structural coupling, temporal coupling, and connascence make code fragile. You'll learn how to spot these problems, reduce the impact of future changes, and design workflows that are much easier to maintain. 🔥 GitHub Repository: https://git.arjan.codes/2026/coupling. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 1:42 The Before Version 3:38 Structural Coupling 3:54 Temporal Coupling 4:53 The Refactoring 8:26 Payoff: Why the Hook Happened 9:29 The Law of Demeter 12:45 Interfaces Where They Help 15:16 Connascence 17:04 Final Thoughts #arjancodes #softwaredesign #python