Click here to Skip to main content
15,561,817 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Pet Peeve Pin
DenverEd11-Dec-14 5:58
DenverEd11-Dec-14 5:58 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 6:07
professionalJeremy Falcon11-Dec-14 6:07 
GeneralRe: Pet Peeve Pin
StatementTerminator11-Dec-14 10:05
StatementTerminator11-Dec-14 10:05 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 11:05
professionalJeremy Falcon11-Dec-14 11:05 
GeneralRe: Pet Peeve Pin
Cloud William11-Dec-14 3:40
Cloud William11-Dec-14 3:40 
GeneralRe: Pet Peeve Pin
Chris Losinger10-Dec-14 13:08
professionalChris Losinger10-Dec-14 13:08 
GeneralRe: Pet Peeve Pin
Brady Kelly10-Dec-14 17:19
Brady Kelly10-Dec-14 17:19 
GeneralRe: Pet Peeve Pin
Andy Brummer10-Dec-14 17:19
sitebuilderAndy Brummer10-Dec-14 17:19 
The rule that I have is that you omit the braces iff the statement is a simple single line. Also, if either branch needs braces then both get them, and loops always have braces.

Curvature of the Mind now with 3D


GeneralRe: Pet Peeve Pin
Chris Losinger10-Dec-14 17:21
professionalChris Losinger10-Dec-14 17:21 
GeneralRe: Pet Peeve Pin
Andy Brummer10-Dec-14 17:45
sitebuilderAndy Brummer10-Dec-14 17:45 
GeneralRe: Pet Peeve Pin
agolddog11-Dec-14 4:46
agolddog11-Dec-14 4:46 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 5:56
professionalJeremy Falcon11-Dec-14 5:56 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov10-Dec-14 12:14
R. Giskard Reventlov10-Dec-14 12:14 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 12:16
professionalJeremy Falcon10-Dec-14 12:16 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov10-Dec-14 12:22
R. Giskard Reventlov10-Dec-14 12:22 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 12:25
professionalJeremy Falcon10-Dec-14 12:25 
GeneralRe: Pet Peeve Pin
ronchristie11-Dec-14 10:59
ronchristie11-Dec-14 10:59 
GeneralRe: Pet Peeve Pin
Jeremy Falcon11-Dec-14 11:08
professionalJeremy Falcon11-Dec-14 11:08 
GeneralRe: Pet Peeve Pin
rjmoses12-Dec-14 11:18
professionalrjmoses12-Dec-14 11:18 
GeneralRe: Pet Peeve Pin
ronchristie13-Dec-14 10:04
ronchristie13-Dec-14 10:04 
GeneralRe: Pet Peeve Pin
Tom Clement10-Dec-14 11:23
professionalTom Clement10-Dec-14 11:23 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:25
professionalJeremy Falcon10-Dec-14 11:25 
GeneralRe: Pet Peeve Pin
Maximilien10-Dec-14 11:26
Maximilien10-Dec-14 11:26 
GeneralRe: Pet Peeve Pin
Mike Hankey10-Dec-14 11:33
professionalMike Hankey10-Dec-14 11:33 
GeneralRe: Pet Peeve Pin
Dan Neely10-Dec-14 11:56
Dan Neely10-Dec-14 11:56 

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.