Skip to content

Latest commit

 

History

History

Observer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

#Observer Pattern

The Observer Pattern defines a one-to-many dependency between objects so that when one object changes state, all of its dependencies are notified and updated automatically.

Design Principles:

  1. Strive for loosely coupled designs between objects that interacts - Loosely coupled designs allow us to build flexible OO systems that can handle change because they minimise the interdependency between objects.