In this video I discuss the SOLID design principles by Robert Martin (Uncle Bob) using practical examples in Python. Though the SOLID principles are one of several sets of software design philosophies, and arguably quite specific for Object-Oriented programming, they are the most well-known and easy to apply to your own code.
A few interesting links to articles and books:
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=YouTube&utm_medium=aff&utm_campaign=ArjanCodes
📷 Sony A7C - https://amzn.to/3aShCtw
🎙 Rode Wireless GO - https://amzn.to/3pSLFVU
💡 GVM RGB LED light - https://amzn.to/3qRNJid
💡 GVM 100W light with lantern softbox - https://amzn.to/2NuU8lk
☕If you want to support this channel, you can buy me a coffee here: https://www.buymeacoffee.com/arjancodes.
You can find the code I worked on in this episode in my GitHub repository: https://github.com/arjancodes/betterpython
1:08 Example explanation
1:45 Single responsibility principle
5:01 Open/closed principle
7:36 Liskov substitution principle
9:48 Interface segregation principle
12:12 Interface segregation variety using composition
15:25 Dependency inversion
17:29 Final thoughts
18:15 Gag reel
👍 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!
🏆 Join my Discord server: https://discord.arjancodes.com
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!
#softwaredesign #solidprinciples #python