There are many standards that help excellent item-oriented design and programming. 5 of those ideas are defined via strong: single duty, open-closed, liskov substitution, interface segregation, and dependency inversion. These standards guide the creation of solid, scalable, and robust code.
To include solid into your personal development workflow, steven lott has prepared a series of instructions that break down the concepts separately, with real-global examples. Discover ways to use these concepts inside the design technique, and to check the energy of your code along the manner. Steven makes use of python to demonstrate the principles, but they’re useful for any object-oriented programming language.
- An overview of SOLID principles
- Segregating code into client-specific modules
- Testing code by substituting subtypes for base classes
- Keeping software open for extension but closed to modification
- Eliminating dependencies on details
- Assigning one responsibility to each class
- Using SOLID principles in the design process