<p><pre><code> logger.info("...");
</code></pre>
versus:<p><pre><code> EventHandle eh = EBus.getHandle(
eventBuilder.executing().name("some operation").build());
if (eh.isAllowed()) {
eh.addParam("p1","v1").addParam("p2","v2").post();
}
</code></pre>
That's a lot of typing.<p>It needs a more compact API.
Event Bus often get abused, I made this framework for Android so that the framework can scale as you have more and more features and developers working on it: <a href="https://github.com/edisonw/PennStation" rel="nofollow">https://github.com/edisonw/PennStation</a>
Ill see your event thingy and raise you mine - <a href="https://github.com/kashifrazzaqui/again/blob/master/again/events.py" rel="nofollow">https://github.com/kashifrazzaqui/again/blob/master/again/ev...</a>
Dupe: <a href="https://news.ycombinator.com/item?id=12159452" rel="nofollow">https://news.ycombinator.com/item?id=12159452</a><p>But you knew that, because it was you who submitted it.