Title | : | 5 Tips To Achieve Low Coupling In Your Python Code |
Duration | : | 18:30 |
Viewed | : | 94,987 |
Published | : | 02-09-2022 |
Source | : | Youtube |
In this video I share 5 tips to help you write code that has low coupling. I'll show you several examples and also share a story of a technique I used several times in the past that has really help me reduce coupling and solve more complex software design problems. The code I worked on in this video is available here: https://github.com/ArjanCodes/2022-coupling. ๐ท Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: https://www.arjancodes.com/diagnosis ๐ป ArjanCodes Blog: https://www.arjancodes.com/blog. ๐ Courses: The Software Designer Mindset: https://www.arjancodes.com/mindset The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python The 30-Day Design Challenge: https://www.arjancodes.com/30ddc ๐ GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes. ๐ If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel! ๐ฌ Discord: https://discord.arjan.codes ๐ฆTwitter: https://twitter.com/arjancodes ๐LinkedIn: https://www.linkedin.com/company/arjancodes ๐ตFacebook: https://www.facebook.com/arjancodes ๐ Code reviewers: - Yoriz - Ryan Laursen - James Dooley - Dale Hagglund ๐ฅ Video edited by Mark Bacskai: https://www.instagram.com/bacskaimark ๐ Chapters: 0:00 Intro 1:32 What is coupling? 2:08 Tip 1: Avoid deep inheritance relationships 5:49 Tip 2: Separate creating resources from using them 8:01 Tip 3: Introduce abstractions 12:40 Tip 4: Avoid inappropriate intimacy 15:55 Tip 5: Introduce an intermediate data structure #arjancodes #softwaredesign #python DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
![]() |
Cohesion and Coupling: Write BETTER PYTHON CODE... 26:14 - 213,674 |
![]() |
The Ultimate Guide to Writing Functions 24:31 - 178,445 |
![]() |
Coupling and Cohesion Explained 11:43 - 3,251 |
![]() |
Coding Was Hard Until I Learned THESE 5 Things! 07:40 - 1,022,661 |
![]() |
Protocol Or ABC In Python - When to Use Which One? 23:45 - 198,183 |
![]() |
FINALLY, I Understand the Difference Between th... 15:38 - 19,976 |
![]() |
15 Python Libraries You Should Know About 14:54 - 370,805 |
![]() |
7 Python Code Smells: Olfactory Offenses To Avo... 22:10 - 367,550 |