Slide 12
Slide 12 text
jgs
564 00000100
Design Principles
There are five key design principles to consider in Object-Oriented:
§ Single Responsibility Principle (SRP)
§ Open-Closed Principle (OCP)
§ Liskov Substitution Principle (LSP)
a child should always be better than its parent.
§ Interface Segregation Principle (ISP)
broke up interfaces
§ Dependency Inversion Principle (DIP)
do not call us, we will call you