💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
In this video, I’ll uncover common bad OOP Python practices and show you how to keep your code clean and maintainable. Learn why you should replace unnecessary classes with functions, use modules instead of classes with only static methods, and flatten deep inheritance hierarchies.
🔥 GitHub Repository: https://git.arjan.codes/2024/badoo
🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/
🔖 Chapters:
0:00 Intro
0:11 #1 A Function Masquerading as a Class
1:53 #2 A Module Masquerading as a Class
4:37 #3 Complex Inheritance structures
7:51 #4 Not Relying on Abstractions
11:27 #5 Ignoring Encapsulation
15:34 #6 Excessive Use of Getters and Setters
17:40 #7 Heavily Relying on Mixins
22:50 Final thoughts
#arjancodes #softwaredesign #python
Watch video Avoid These BAD Practices in Python OOP online, duration hours minute second in high quality that is uploaded to the channel ArjanCodes 06 September 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 92,272 times and liked it 3.2 thousand visitors.