cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [QUESTION] Coding style...
Date Tue, 11 Feb 2003 04:28:57 GMT
Pier Fumagalli wrote:

>As in every project where a bunch of people are contributing at the same
>time, one day or another, it comes up "what kind" of coding style one
>actually want to have throughout the source code...
>
>I was wondering if there are some guidelines for Cocoon (back in the days
>when I started there weren't, but maybe now)...
>
>Personally I use "checkstyle" at work (I actually enforced it over there to
>have a consistent coding style) and it works all right.
><http://checkstyle.sf.net>
>
>Our coding properties for verification are pretty basic:
>
>  checkstyle.maxlinelen=120
>  checkstyle.ignore.braces=true
>
>And instinctively I adopted them also for the HttpProxyGenerator. I was
>wondering if it's allright for the others and whether it adheres to the
>current ones or not (I wasn't able to figure out if there was a coding
>convention throughout the sources)...
>
>What do you guys think?
>

I'd like to see 4-spaces-indent, max line length somewhere in 80-100 
diapason, and the rest does not matter match... You can take (almost) 
any core class as an example (say, Cocoon.java ;).

Vadim


>    Pier
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message