Hi,

2011/1/30 Gilles Sadowski <gil...@harfang.homelinux.org>:
> Hello.
>
>> I noticed that you have code where fields and constructor arguments
>> have the same name. As far as I remember that is not good practise,
>> but I might be wrong :-)?
>
> Most (all?) of CM follows this convention.
Just to be sure: Do you mean that in most of CM, parameter and field
names coincide?

Cheers, Mikkel.
>
> [Personally I prefer that fieds use names prefixed by an underscore
> character so that when method or constructor arguments reflect the meaning
> of those fields, one does not have to use the "this" keyword (i.e. I use the
> convention where the '_' character means "This is an instance variable").]
>
>
> Regards,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

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

Reply via email to