I agree with these points. Especially with point number 1. Cheers, Doru
On 2 Mar 2010, at 21:48, Lukas Renggli wrote: > Before going to Pharo 1.0 final, could we please undo the compiler > changes that handle the temporary variables? > > 1) In various code bases I see an increasing number of temp variables > that shadow instance variables. This can lead to subtle bugs in > various situations that are very hard to debug. Furthermore consider > that the code that shadows instance variables in unlikely to load into > any other Smalltalk. > > 2) In various code bases I see an increasing number of unused > temporary variables. Instead of just leaving them in there it would be > nice if the compiler removed them right away. > > Point 1 is a *major* annoyance, I already lost hours for that reason. > > Point 2 is not that important, as it has no intermediate consequences > and can be deferred to code critics. I would need to write a new lint > rule though. > > If I knew where these compiler changes were done, I would propose a > fix for Pharo 1.0 and 1.1. Any pointers? > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com "In a world where everything is moving ever faster, one might have better chances to win by moving slower." _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
