The following lists the benefits of using the Observer pattern:
- Abstract coupling between subject and observer
- Support for broadcast communication
You should use the Observer pattern when:
- A change to one object requires changing the other object, and you don’t know how many objects need to change.
- An object should be able to notify other objects without making assumptions about the identity of those objects.