Which Design Pattern Violates Which Principle?
S | O | L | I | D | |
Factory | |||||
Factory Method | |||||
Abstract Factory | |||||
Singleton | |||||
Builder | |||||
Prototype | |||||
Object Pool | |||||
Adaptor | |||||
Bridge | |||||
Filter | |||||
Composite | |||||
Decorator | |||||
Facade | |||||
Flyweight | |||||
Proxy | |||||
Chain of Responsibility | |||||
Command | |||||
Interpreter | |||||
Iterator | |||||
Mediator | |||||
Memento | |||||
Observer | |||||
State | |||||
NULL Object Pattern | |||||
Strategy | |||||
Template Method | |||||
Visitor |
S: Single Responsibility Principle
O: Open Closed Principle
L: Liskov Substitution Principle
I: Interface Segregation Principle
D: Dependency Inversion Principle
Comments