On Tue 29 May 2001 19:25, Dave Mitchell <[EMAIL PROTECTED]> wrote:
> =item *
> 
> "K&R" style for indenting control constructs: ie the closing C<}> should
> line up with the opening C<if> etc.
> 
> =item *
> 
> When a conditional spans multiple lines, the opening brace must line up
> with the "if" or "while", or be at the end-of-line otherwise.

I certainly will not change existing code that's written like this, but - since
IMHO this is *poor* GNU coding style - I will submit /new/ code snippets
formatted my own way: the right way. It's then up to the pumpking to accept or
reject it.

I'm happy this document does not apply to shell scripts and perl scripts.

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Reply via email to