I don't know of an apache wide standard, the geronimo project uses
the following:
http://cwiki.apache.org/GMOxDEV/coding-standards.html
pretty closely aligned with Sun's.
Best wishes,
Paul
On Sep 28, 2007, at 11:48 AM, Matthias Wessendorf wrote:
I haven't really followed such an interesting topic in the past, so
here is my question:
Is there any "apache coding standard" thing ? Or is for all "Apache
Java efforts" the SUN paperworks the one to go ?
-M
On 9/28/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
Hi!
There have been a lot of discussions on coding conventions here at
MyFaces. I don't think we've reached an agreement so far ;)
* indentation is 2 spaces with no "tabs"
I'd say two spaces are too much, one space should be sufficient.
;-) Just kidding.
Honestly, if we warm up this discussion I think it would be best to
simply stick with the SUN propsed [1] one - even if I don't like them
that much (e.g. I like the opening brace on the next like) I've found
that many other developer use them (or a derivate) and also
newbies are
used to them.
Ciao,
Mario
[1] http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org