Carsten Ziegeler wrote:
Vadim Gritsenko wrote:

 -        this.reset();
 -        this.init();
 +        reset();
 +        init();


Why do you make these changes? A long time ago, we decided  that
this.method()
is more readable and we want to use that :)

More readable? There is no semantic difference between this.method() and method(). Actually I find it silly to add the 'this.' to a method call.


It make sense for member variables but there I'd like to add a prefix like m_ which cannot be forgotten (as like the 'this.' prefix) and thus clearly indicates what kind of variable it is (but that is personal preference, I know ;-)

Giacomo

No, actually I prefer this.method() as well, but don't mind if someone
writes
only method(). But I think changing this back and forth is not a good idea.

Carsten


-- Otego AG Tel: +41 (0)1 240 00 55 Giacomo Pati, CTO Mobile:+41 (0)79 262 21 04 Apache Software Foundation Member Mailto:[EMAIL PROTECTED] Hohlstrasse 216 Mailto:[EMAIL PROTECTED] CH-8004 Z�rich Web: http://www.otego.com




Reply via email to