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.