rbignon / doctoshotgun

Script to automatically book a vaccine slot on Doctolib in the next seven days.
GNU General Public License v3.0
549 stars 142 forks source link

Behavioral Design Pattern 2: Observer #281

Closed AflameeB closed 3 years ago

AflameeB commented 3 years ago

This is the Behavioral Design Pattern from Anmol Bhatnagar for the Final Exam(Q7) of the course EECS 3311 at York University instructed by Professor Maleknaz Nayebi. The second example is an observer design pattern for data analysis. IVaccinationData (observer interface) and IVaccinationBooking (observable interface) are implemented by the concrete classes VaccinationData (observer for the observable class) and VaccinationBooking (observable class), respectively.