On Tue, Feb 10, 2004 at 10:23:06AM +1300, Sidney Markowitz wrote:
> Can someone tell me or point me to the indentation standards for the 
> perl source files in SpamAssassin? Use tab characters, or only spaces, 
> or it doesn't matter? If tabs are used what tab width? And indent by how 
> much? I'm having difficulty distinguishing standards from what may be 
> mistakes or simply lack of standards in some source files.

I don't think we ever came up with an "official" set of standards.  In general:

- indents are 2 spaces
- use 'if (expr) {', although 'if ( expr ) {' is tolerated when I do it. ;)

uhh...  that's all I can remember.

-- 
Randomly Generated Tagline:
"All language designers are arrogant.  Goes with the territory..."
 (By Larry Wall)

Attachment: pgpk7hHp9cBwV.pgp
Description: PGP signature

Reply via email to