I absolutely don't want to get into a debate over whether it is better to put curly braces on their own line or not, but I do have a question on indentation I'd like to throw at the masses (ok - all 7 of you).

Generally, the curly brace debate boils down to these two examples:

 

if (var < max)  {
    DoSomething();
    }

vs.

if (var < max)  

{
    DoSomething();
}

 

I recently came across a body of code that uses a variation on the second method – but to me is far less readable.  Am I missing something?  Does anyone else favor this format?

 

if (var < max)  

    {
    DoSomething();
    }