On 1/4/02 5:26 AM, "Kief Morris" <[EMAIL PROTECTED]> wrote:
> Stephane Bailliez typed the following on 09:42 AM 1/4/2002 +0000
>>> We had that discussion once on Commons, and many people liked the
>>> underscore convention.
>>
>> I can understand why:
>>
>> public void setSomething(Object something){
>> something = something;
>> }
>>
>> 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:
>
> public void setSomething(Object something){
> this.something = something;
> }
>
> Kief
>
Of course, you can spend hours looking for the following typo :
public void setSomething( Object somthing )
{
this.something = something;
}
"Look kids, Big Ben. Can't change 'something'"
--
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
Be a giant. Take giant steps. Do giant things...
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>