This may just be me but I only use brackets when I have more than one command or statement in an if block. Travis' style is correct but, if there are only 2 outcomes for the if block (true|false). If that is the case, why not just use this style?
Code:
(condition) ? true : false;
Other wise I have to use brackets to surround my statement.
Code:
if (var == 0 )
{
//adsf
//asdf
} else {
//;lkj
//;lkj
}
jeffro