" The followers advice is dropping the curly brackets for these one-line ifs to make them all happy. "
I have never understood why anyone would do this. It's a bug waiting to happen (as goto fail showed), for truly marginal benefit
if (foo)
bar();
if (foo) {
bar();
}