CodePudding user response:
Is very simple, the observer pattern: I want to sell, there are several attracts my house, my house one day going up in price, I have to inform all potential buyers said house prices one by one, the mediator pattern: I hung in the house HOME LINK, house price HOME LINK will inform potential buyers