Apache Lenya Coding Guidelines
Table of Contents
Introduction
We use coding standards so that Lenya source code is easy to understand, to maintain, and to enhance.
We are using the commit-then-review approach. Still, nothing untested should be committed. First test then commit!!!
Java Code
Generally we stick with standards. In the case of coding standards we simply use the guidelines from Sun.
Here are the rules:
- Thou shalt only produce code conforming to the Java code conventions, as they are set down on the page http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
- Thou shalt not produce any code containing tab-stops.
XML and XSP
The only restriction we impose on XML, XSLT and XSP code is that the indenting is 2 spaces. Again please no tab stops.