Coffeehouse Post

Single Post Permalink

View Thread: curly bracket placement thread
  • User profile image

    I'm a same column fan, but with spacing.

    I personally would prefer -

    for (;Wink

    And even if it is a single line, its quite disconcerting when people use -

    if (foo)
        { //bar }
    else if (foo)

    That is so wrong - if I ever saw someone do that, I'd personally go down and smack them. I think consistency in coding is a good thing.