slug | title | tags | date | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
observer-pattern |
Observer Pattern |
|
2021-08-16T21:30 |
#[[810c5d55]] design pattern
The Observer Pattern : Defines a one-to-many dependency between objects so that when one object changes state, all of its dependents are notified and updated automatically.
The Observer Pattern provides an object design where subjects and observers are [[d7d0203f|loosely coupled]]#.
[^]
[^]: Head First Design Pattern by Elisabeth Freeman and Kathy Sierra