New answers tagged event-programming
The problem lies with the concept of answerQuestion. You use answerQuestion for two roles: User input provided, listeners perform appropriate actions. Server update provided, listeners perform appropriate actions. Simple approach While they are similar, they are not the same. The pattern for this (if you want to call it that), would be to have two ...
Top 50 recent answers are included