1
vote
is there a two-way (bidirectional) observer pattern?
The normal observer pattern can easily be used in a bidirectional way:
One approach is that the two objects are reciprocal subjects and observers, i.e. both implement the two interfaces and register ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
object-oriented-design × 1602design-patterns × 556
object-oriented × 471
design × 407
java × 228
c# × 174
domain-driven-design × 95
architecture × 92
c++ × 89
class-design × 84
inheritance × 82
interfaces × 68
python × 51
solid × 51
php × 48
programming-practices × 35
single-responsibility × 34
dependency-injection × 32
refactoring × 28
domain-model × 28
mvc × 27
encapsulation × 27
api-design × 26
uml × 25
database-design × 24