At 09:26 PM 7/16/01 +1000, Mark wrote:
> As an aside: is there a style guide for FOP code? I must say I find the
>style and layout very confusing and I'm happy to clean things up as I go.
>At the moment I can't even work out what tab stop size people are using.
>(In my own work I use 8 character tabs with 2 character indenting).

Yep. http://xml.apache.org/source.html references the Sun Java coding 
conventions, at http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html.

An interesting point that comes out of the coding conventions is that while 
Sun instructs us that tabs must be 8 spaces, they also state that the unit 
of indentation is 4 spaces.

Seems to me that the easiest way to avoid problems is never to leave tabs in 
the code - I use a text editor that is set to 4 spaces per tab and 
immediately translates tabs to spaces.

We are well past the point where we should take a style tool to the whole 
codebase, strip out all tabs, and re-commit the whole thing. :-)

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to