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)
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I'll refactor some tricky, hard-to-detect code duplication, show you an example of when it's best to leave duplicated code as is, and share a few tips on how to avoid duplication altogether. 🔥 GitHub Repository: https://git.arjan.codes/2024/duplication. Bragir Repository: https://github.com/ArjanCodes/bragir. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 🔖 Chapters: 0:00 Intro 0:19 Obvious code duplication 1:48 Why duplicate code needs to be avoided 3:19 Duplicated code with different order 7:26 Duplicate code in different locations 9:41 When code duplication is okay 17:12 Some tips for avoiding code duplication 19:15 Outro #arjancodes #softwaredesign #python