New answers tagged


You could have a single observable interface that allows subscribing by property name or even using regex. Using a map instead of a list to hold observers should work. You talk about observing 'variables' which may not mean much but you should be careful to avoid think in terms of concrete implementation details when designing interactions between classes. ...

Top 50 recent answers are included