I'm a little confused which brace style is better?
This one?
if ( a > b)
{
c = d;
}
or this one?
if ( a > b) {
c = d;
}
I'm using the first one because I think it's easy to read, but I found it seems that many experts (or experience programmers) like to use the second style, the second one looks like more professional (isn't is?). I know both styles are OK, but in your opinion, which one is better for a programmer? Your reasons? Thank you a lot!