jakarta-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: More abuse of coding styles...
Date Fri, 04 Jan 2002 11:15:39 GMT
At 10:44 04.01.2002 +0000, you wrote:
>> -----Original Message-----
>> From: Kief Morris [mailto:kief@bitbull.com]
>> >It is one of my major source of error when not using the '_'  and I
>> >have seen the error several times along with variable naming
>> >gymnastics to avoid the this. people would use aSomething or
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> >theSomething or whatever. That look crappy in the Javadoc.
>> The "standard" way to handle this is of course:
>See above. People will often forget to type 'this.' for the same reason they
>forget to put braces around a single line statement: lazyness.
>I think we all do this from time to time...human nature you know...

People who repeatedly forget to type "this" represent a minority and
should perhaps look to exercise a different profession. The problem

public void setSomething(Object something){ 
  this.something = something; 


public void setSomethingComplicated(Object sometingComplicateed){ 
  this.somethingComplicated = somethingComplicated;

Ceki Gülcü - http://qos.ch

To unsubscribe, e-mail:   <mailto:general-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:general-help@jakarta.apache.org>

View raw message