Jan. 13, 2010
10:20 a.m.
On 1/13/2010 11:13 AM, Igor Stasenko wrote:
Next step is removing a direct reference to Sensor global, and replace it with something like:
self eventSensor
No, that is fixing a sympton, not the problem. (John will love this ;-) ) You would still be polling the sensor. There should be no references to Sensor -directly or indirectly- at all. The system should be completely event driven and not be allowed to ask for anything. I know it is just so comfortable to do this, but a very bad idea. This basically goes back to introducing global references to ActiveHand etc, something that really needs to be removed as well. Michael