Fred George's Object Bootcamp Day 14
Mediator Pattern:
When we have 2 objects, say A and B which are independently developed, but needs some other object to glue them together. This is where we have a mediator, which glues A & B. Mediator promotes loose coupling by keeping objects from…