[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#355488: ITP: bcpp -- C(++) beautifier

On Mon, 6 Mar 2006, Hendrik Sattler wrote:
Can you explain that?

Either the '{' and '}' are one indentation level down or the same indentation

Hah!  Not in GNU.
The GNU coding standards want you to indent '{' and '}' x/2 spaces, while the code inside is indented x. So, the result is:

        if (foo)

Yes, this is bizarre -- but at least GNU folks don't stick the opening
brace in the same line as "if" like certain heretics do.

You can find as many strange coding styles as you can find religions or editors. And all of them have their fanatical believers who are ready to stone heathens.

/-----------------------\ Shh, be vewy, vewy quiet,
| kilobyte@mimuw.edu.pl | I'm hunting wuntime ewwows!
Segmentation fault (core dumped)

Reply to: