Skip to contentSkip to conversation

curly brace around else

DISCUSSION Mukesh Rathor 1 participant 1 message Oct 17, 2009

lore
Share & tools
lore
#0 lore raw

I really dislike

    }
    else
    {

I'd much rather see:

    } else {

Functions are getting large to begin with, and when you are reading
complex code you didn't write, anything/everything helps.

My thoughts, in case... :).

thanks,
Mukesh