3 ms·
> But since you own the code, you own 100% of the source in your GUI application, why would you need indirection? So what is your proposed non-indirection way?
by ncann 5y ago
> But since you own the code, you own 100% of the source in your GUI application, why would you need indirection?
So what is your proposed non-indirection way? I'm assuming you meant the traditional listener/observable way of registering event producers and event listeners together, in which case this FAQ explains pretty well their downsides compared to an event bus:
https://github.com/google/guava/wiki/EventBusExplained#faq https://github.com/google/guava/wiki/EventBusExplained#faq