> > "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.

The above two are essentially just rehashes of what's already in
Porting/patching.pod, and seems to reflect existing practice (loosely
speaking).

What do you regard as the 'right' way?

Just to check you're not being mislead by poor wording, the above is
supposed to propose

if (...) {
    ...
}


and

if (...
    .....
    .....)
{
    ....
}
    
  

Reply via email to