FYI,
static if(true)//comments are great for adding some context to your code.
{
   //stuff
}
and
{//let's toss a comment on the scope declaration!
   //stuff
}
are functionally equivalent in my IDE. Both will fold down to only the top {(good), and both create a scope outside of which no declarations inside them are visible(potentially undesirable side-effects).

If you need to sequester your code, you really should just toss it into a library and import it from there(no side-effects).

Reply via email to