thanks mike I realllllly want to clean that part too. And we will do it. This is why I need a bit of supervision and time. Stef On Jan 13, 2010, at 11:20 AM, Michael Rueger wrote:
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
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project