Chapter 10: Advanced Coding — Using SOLID to Make Solid Code
- Function blocks, methods, functions
- Break the module up so it is describable in a complete sentence without the word and.
- Principle that states that an object of a part class/function block should be replaceable with objects of a child class/function without affecting the behavior.
- Principle that states that a function block should not have to implement an interface it does not use, nor should it depend on a method that it does not use.
- See the following:
- S: Single-responsibility Principle
- O: Open-closed Principle
- L: Liskov Substitution Principle
- I: Interface Segregation Principle
- D: Dependency inversion Principle