Click here to Skip to main content
15,917,645 members

Survey Results

When coding, do you put braces around single nested statements?

Survey period: 27 Aug 2018 to 3 Sep 2018

When coding using a language with braces, that is.

OptionVotes% 
Yes, always47536.48
Yes, mostly27120.81
Depends on the situation25019.20
Not usually16612.75
Never785.99
I don't code using a language with braces624.76



 
GeneralRe: Braces don't always help Pin
Mladen Janković28-Aug-18 3:31
Mladen Janković28-Aug-18 3:31 
GeneralRe: Braces don't always help Pin
Ravi Bhavnani1-Sep-18 11:48
professionalRavi Bhavnani1-Sep-18 11:48 
GeneralRe: Braces don't always help Pin
Daniel Wilianto7-Sep-18 16:33
Daniel Wilianto7-Sep-18 16:33 
GeneralRe: Braces don't always help Pin
TNCaver28-Aug-18 6:41
TNCaver28-Aug-18 6:41 
GeneralRe: Braces don't always help Pin
Daniel Wilianto7-Sep-18 16:35
Daniel Wilianto7-Sep-18 16:35 
GeneralBrace == indent Pin
kalberts28-Aug-18 1:30
kalberts28-Aug-18 1:30 
GeneralRe: Brace == indent Pin
Kewin Rausch29-Aug-18 1:57
professionalKewin Rausch29-Aug-18 1:57 
GeneralRe: Brace == indent Pin
kalberts30-Aug-18 1:59
kalberts30-Aug-18 1:59 
GeneralRe: Brace == indent Pin
Kewin Rausch30-Aug-18 22:07
professionalKewin Rausch30-Aug-18 22:07 
GeneralRe: Brace == indent Pin
kalberts31-Aug-18 0:56
kalberts31-Aug-18 0:56 
GeneralRe: Brace == indent Pin
Kewin Rausch2-Sep-18 22:58
professionalKewin Rausch2-Sep-18 22:58 
GeneralDepends on the else Pin
daleofcourse27-Aug-18 22:28
daleofcourse27-Aug-18 22:28 
GeneralRe: Depends on the else Pin
Kevin McFarlane28-Aug-18 3:26
Kevin McFarlane28-Aug-18 3:26 
GeneralRe: Depends on the else Pin
Paulo Zemek28-Aug-18 11:19
Paulo Zemek28-Aug-18 11:19 
GeneralBrace for Impact! Pin
MacSpudster27-Aug-18 10:39
professionalMacSpudster27-Aug-18 10:39 
GeneralNo? Pin
dandy7227-Aug-18 6:47
dandy7227-Aug-18 6:47 
Generalbut what about... Pin
Dennis E White27-Aug-18 4:56
professionalDennis E White27-Aug-18 4:56 
GeneralRe: but what about... Pin
kalberts28-Aug-18 1:03
kalberts28-Aug-18 1:03 
GeneralRe: but what about... Pin
Kevin McFarlane30-Aug-18 1:23
Kevin McFarlane30-Aug-18 1:23 
GeneralRe: but what about... Pin
Leng Vang30-Aug-18 8:41
Leng Vang30-Aug-18 8:41 
GeneralRarely omitted Pin
W Balboos, GHB27-Aug-18 3:28
W Balboos, GHB27-Aug-18 3:28 
GeneralIt's like deja-vu, all over again... Pin
littleGreenDude27-Aug-18 2:30
littleGreenDude27-Aug-18 2:30 
GeneralIts habit... Pin
koolprasad200326-Aug-18 20:55
professionalkoolprasad200326-Aug-18 20:55 
GeneralRe: Its habit... Pin
Kevin McFarlane28-Aug-18 3:33
Kevin McFarlane28-Aug-18 3:33 
GeneralMy Rule of Thumb Pin
Rick York26-Aug-18 20:48
mveRick York26-Aug-18 20:48 

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.