As part of the SOLID series, in this video we will be going over a coded example of the Open-Closed Principle, using the Python language. In my opinion a bit harder to digest compared to SRP, however I do hope that this example is enough to give you at least the basic understanding of OCP.
To view the code written in this video, visit the GitHub link below:
🧑 Book a Learning Session - https://calendly.com/rithmic-studio/learning-session
Discord - https://discord.gg/TwUV34F6wC
- https://github.com/sixfwa/python-design-patterns