3 ms·
Why it's interesting alternative: regular observer pattern make observed code depend (at compile time) on the observing code. Signals/slots remove this dependen
by ajuc 11y ago
Why it's interesting alternative: regular observer pattern make observed code depend (at compile time) on the observing code. Signals/slots remove this dependency, and allow for external configuration of these.
It's a dependency injection mechanism when you think about it.