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

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

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)
            {
                bar;
                baz;
            }

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,
| [EMAIL PROTECTED] | I'm hunting wuntime ewwows!
\-----------------------/
Segmentation fault (core dumped)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to