Head First Design Patterns Notes - Observer Pattern

Publisher - Subscriber model

Loosely coupled, program to interfaces and not implementations - because the Publisher does not store concrete implementation of the Observer is. It just stores Observer interface references in a list. This achieves loose coupling.

Comments

Popular posts from this blog

Should you always have null checks?

Identity Terms and Definitions