Question about bracket style

This is kind of a useless thread but w/e. In all of your programs, do you use the first option, or the second? And is the 1st example a bad coding style? I usually do the first one (because of my Python habit). I've noticed that nobody uses the second option, so I was wondering if it was some C++ taboo that only No0bs (like me :P) do.

1
2
3
if (3==3) {
    // Blah
}

or
1
2
3
4
if (3==3) 
{
    // Blah
}


P.S.

Does anybody else find themselves hitting CTRL+S like they have a code document open?
I do the first but personally I don't care about the brackets as much as I do the indentation of the code within the block. There is no "standard" way to do it; what's really key is probably consistency.
Agreed with Zhuge here.

Does anybody else find themselves hitting CTRL+S like they have a code document open?


Occasionally when writing a post I will do that, yes...heh.
I like option 2, but as others have mentioned, it doesn't really matter.
I do the second because that's the standard at work, but I find the first to be a more natural style. Again, consistency is what counts.
I find option two cleaner. You can quickly see the matching brackets.
Topic archived. No new replies allowed.