Can an object be a Participant in both the Mediator and Observer Design pattern?
Can an object behave like an Observer (subscriber) with one set of objects (Observer Design Pattern) while at the same time act as a Colleague with another set of objects in the Mediator design pattern?
Aucun commentaire:
Enregistrer un commentaire