April 20, 2009
5:39 p.m.
Igor Stasenko wrote:
Another thing, that i think it would be better is to not have an instance side methods. Since we never need a multiple instances of InputEventFetcher in system, then instead of singleton scheme, it would be better to move all methods and ivars to class side - simply because a class is already singleton. This will help to avoid discrepancies, like we just met.
-10000 Using singleton instances is a proven design pattern. And, you never know if you won't need more than one input fetcher ;-) Michael