In the C programming language, it is my understanding that variables can only be defined at the beginning of a code block, and the variable will have the scope of the block it w
Apparently I'm in the minority, but I find "just braces" much harder to read because it deviates from the usual pattern. On the (admittedly infrequent) occasions where I want a scoped block without defining another function, I prefer to include the "if", but without any macros and with a comment to explain why:
if( 1 ) // just to establish scope
{
// do stuff here
}