[eluser]theprodigy[/eluser]
Personally, I prefer the "expanded" syntax:
Code:
if($that=='whatever')
{
//do something
}
else
{
//don't do something
}
over
Code:
if($that=='whatever'){
//do something
}else{
//don't do something
}
I find the expanded syntax easier to read. I know right off the bat when and where things begin an end. It's the same for the single operation syntax. I prefer always putting curly braces around that chunk of code for several reasons. 1. Easy to see where it begins and ends right off the bat. 2. Easier to added another operation later, should you need to.