07:155 Tips To Achieve Low Coupling In Your Python Code
From the creator
๐ท Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. 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. ๐ 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: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
Published 2022-09-02 ยท Watch on YouTube โ
Availability and playback restrictions are controlled by the original channel.





