[Webtest] [dev] what naming patterns to use?

Marc Guillemot webtest@lists.canoo.com
Tue, 02 Nov 2004 22:22:00 +0100


Hi,

I agree that we have to define a common naming pattern. I couldn't distinguish any in existing code therefore I've 
contributed to the current state using sometimes mine, sometimes what already was in the class I was working on.

Ok for using checkstyle.

My style is of course the best one ;-) but it will be an endless discussion if we start looking at each developer's 
prefered coding convention. Mittie, just decide and configure checkstyle to ensure that the guidelines are respected.

Marc.

Dierk Koenig wrote:
> Hi developers,
> 
> so far we have used the Taligent naming pattern, i.e.
> - local param names are "as is"
> - fields are prefixed with "f"
> - static fields (if any) are prefixed with "s"
> 
> the recent changes deviate from that pattern by e.g.
> - fields are sometimes prefixed with "_" (JDK style)
> - local params are sometimes suffixed with "_"
> 
> I don't want to be picky about these details as
> any decent IDE shows the distinctions anyway but
> there may be a specific reason for the style change
> that I haven't seen so far.
> 
> - What style does everybody prefer? 
>   (I can live with any style)
> - Does everybody agree on having a consistent style?
>   (we could use checkstyle in the build)
> 
> cheers
> Mittie
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>