Click here to Skip to main content
15,887,027 members

Survey Results

Do you wrap single line statements in braces (or begin/end)?   [Edit]

Survey period: 16 May 2011 to 23 May 2011

Do you:

if (condition)
    statement
or
if (condition)
{
    statement
}
(Replace {}'s with Begin/End or whatever is appropriate for your language du jour)

OptionVotes% 
I always wrap single line statements95548.04
I sometimes wrap single line statements57328.82
I never wrap single line statements - only multiple lines get wrapped.46023.14



 
GeneralRe: Every time Pin
RedSonja17-May-11 19:52
RedSonja17-May-11 19:52 
GeneralOne more option was required Pin
avigodse16-May-11 5:11
professionalavigodse16-May-11 5:11 
GeneralRe: One more option was required Pin
AlexCode16-May-11 21:19
professionalAlexCode16-May-11 21:19 
GeneralThat depends... PinPopular
Paulo Zemek16-May-11 4:42
mvaPaulo Zemek16-May-11 4:42 
GeneralRe: That depends... Pin
Mladen Janković16-May-11 4:56
Mladen Janković16-May-11 4:56 
GeneralRe: That depends... Pin
Paulo Zemek16-May-11 5:53
mvaPaulo Zemek16-May-11 5:53 
GeneralRe: That depends... Pin
Albert Holguin16-May-11 7:20
professionalAlbert Holguin16-May-11 7:20 
GeneralNeither PinPopular
Ennis Ray Lynch, Jr.16-May-11 4:17
Ennis Ray Lynch, Jr.16-May-11 4:17 
GeneralRe: Neither Pin
Slacker00716-May-11 5:35
professionalSlacker00716-May-11 5:35 
GeneralRe: Neither PinPopular
Chris Maunder16-May-11 5:39
cofounderChris Maunder16-May-11 5:39 
JokeRe: Neither PinPopular
M@dHatter16-May-11 6:38
M@dHatter16-May-11 6:38 
GeneralRe: Neither Pin
John M. Drescher16-May-11 5:44
John M. Drescher16-May-11 5:44 
GeneralRe: Neither Pin
bob1697216-May-11 6:40
bob1697216-May-11 6:40 
GeneralRe: Neither Pin
QuiJohn16-May-11 10:31
QuiJohn16-May-11 10:31 
GeneralRe: Neither Pin
Paul Klomp16-May-11 20:15
Paul Klomp16-May-11 20:15 
GeneralRe: Neither Pin
petriiik16-May-11 21:42
petriiik16-May-11 21:42 
GeneralRe: Neither Pin
QuiJohn17-May-11 4:27
QuiJohn17-May-11 4:27 
GeneralRe: Neither Pin
Kevin McFarlane21-May-11 6:08
Kevin McFarlane21-May-11 6:08 
GeneralRe: Neither Pin
Roger Allen16-May-11 23:42
Roger Allen16-May-11 23:42 
GeneralRe: Neither Pin
QuiJohn17-May-11 4:32
QuiJohn17-May-11 4:32 
GeneralRe: Neither Pin
charlieg18-May-11 14:33
charlieg18-May-11 14:33 
GeneralRe: Neither Pin
Kevin McFarlane21-May-11 6:12
Kevin McFarlane21-May-11 6:12 
GeneralRe: Neither Pin
Kevin McFarlane21-May-11 6:18
Kevin McFarlane21-May-11 6:18 
GeneralRe: Neither PinPopular
Mike Hankey16-May-11 9:06
mveMike Hankey16-May-11 9:06 
GeneralRe: Neither Pin
PatmanV17-May-11 0:04
PatmanV17-May-11 0:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.