Summary
Keywords
Full Transcript
👷 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
