commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy McArthur" <sandy...@apache.org>
Subject Re: [lang] this.foo() vs. foo()
Date Wed, 08 Mar 2006 00:02:52 GMT
On 3/7/06, Gary Gregory <ggregory@seagullsoftware.com> wrote:
> In our product code bases, we use the "this.foo()" convention. The
> argument being, that in object oriented programming, a message is sent
> to an object, always.
>
> How does the list feel about cleaning up foo()'s to this.foo()'s?
>
> I am willing to do this clean up, actually, I'll let Eclipse do it ;)
>
> Or, we can leave it all as is, with some classes doing it one way and
> others the other way.

My position is that as you're working on a chunk of code, clean it up
to whatever you like but DO NOT go changing code just for cosmetic
sake.

--
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message