The difference between liskov substitution principle and interface segregation principle
LSP: The subtype must honor the contracts it promises. ISP: The caller shouldn’t depend on more of the base type’s interface than it needs. Where they fit: If you apply the ISP, you use only a slice of the receiver’s full interface. But according to LSP, the receiver must still honor that slice. If you … Read more