Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 17493 invoked from network); 7 Mar 2006 23:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 23:46:05 -0000 Received: (qmail 86499 invoked by uid 500); 7 Mar 2006 23:46:02 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 86408 invoked by uid 500); 7 Mar 2006 23:46:02 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 86397 invoked by uid 99); 7 Mar 2006 23:46:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 15:46:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [203.16.214.181] (HELO smtp1.adl2.internode.on.net) (203.16.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 15:46:01 -0800 Received: from [192.168.1.5] (ppp115-156.static.internode.on.net [150.101.115.156]) by smtp1.adl2.internode.on.net (8.13.5/8.13.5) with ESMTP id k27NjXZ7056795 for ; Wed, 8 Mar 2006 10:15:35 +1030 (CST) (envelope-from sjr@jdns.org) From: James Ring To: "Jakarta Commons Developers List" Subject: Re: [lang] this.foo() vs. foo() Date: Wed, 8 Mar 2006 10:45:31 +1100 User-Agent: KMail/1.9.1 References: <19B78354A4AA3E4287384F3D30933F889E0E57@MAIL1.seagull.nl> In-Reply-To: <19B78354A4AA3E4287384F3D30933F889E0E57@MAIL1.seagull.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603081045.31914.sjr@jdns.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Gary, On Wednesday 08 March 2006 10:35, Gary Gregory wrote: > Hello: > > This could be a religious issue... look out! > > 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. Will this.foo() and foo() always result in the same behaviour, particularly when you're dealing with overridden methods? I ask because I am unsure! > How does the list feel about cleaning up foo()'s to this.foo()'s? I personally think that foo() is just fine, especially when calling private helper methods. > 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 (unimportant, meaningless ;) vote is to leave it. > Gary Regards, James --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org