The observer pattern is a software design pattern in which an object, named the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Read moreWhere is Observer pattern used in real life?
A real world example of observer pattern can be any social media platform such as Facebook or twitter . When a person updates his status – all his followers gets the notification. A follower can follow or unfollow another person at any point of time.23 Ağu 2021
Read more