News for hackers. Stuff that matters.
Re:Avoiding Event Chains in Single Page Applications by regularfry on Sunday August 31, 2014 @01:36PM (#8249836)
Well, right now, he has to explicitly listen for one event in two places, and annotate the order correctly.

With two separate events types, he would only have to listen for the events.

Re:Avoiding Event Chains in Single Page Applications by coldtea on Sunday August 31, 2014 @02:44PM (#8250009)
Nope, he doesn't have to annotate the order correctly. Except if you mean locally, in which case it's trivial.
Re:Avoiding Event Chains in Single Page Applications by regularfry on Monday September 01, 2014 @09:44AM (#8252763)
I'm suggesting the difference is between:

    A: listen for X
    B: listen for X
    B: execute after A
and

    A: listen for X
    B: listen for Y