New answers tagged observer-pattern
It should be two observers. Your Reader object should not have observer-specific attach and detach methods. Rather, it should have two methods for registering and de-registering concrete observer objects in a single observer collection. Wikipedia You can still use Reader:WhichState in your concrete observers to determine whether or not each concrete ...
Top 50 recent answers are included