Spaces instead of tabs. </me ducks> As I recall, Sun's standard has 8 char tabs 4 space indentions. It's the only part I routinely throw out.
Actually, just checkint the latest: http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html Construction of indentation is unspecified now. It avoids wars to be specific, though. $0.02, -Paul P.S.: I sometimes find the need to add naming guidlines such as avoiding MS-COMisms like "public interface IMyInterface", ie: 'I' is bad. David Graham wrote: > > There's been some talk of formalizing the coding standard we follow so > here's a starting point for discussions. > > 1. Follow the Java standard coding practices. This includes putting > opening braces on the same line like if (true) {. > All IDEs support formatting code to this standard and all Java coders > already know it. > > 2. Enclose all blocks in braces, even one liners. This makes the code > easier to follow and decreases bugs. > > Currently we should be following the Java standard but we should explicitly > state this for the project. > > Thoughts? > > Dave > > _________________________________________________________________ > The new MSN 8 is here: Try it free* for 2 months > http://join.msn.com/?page=dept/dialup > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
