Click here to Skip to main content
15,892,927 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
Mladen Janković10-Dec-14 23:25
Mladen Janković10-Dec-14 23:25 
QuestionRe: Pet Peeve Pin
Eddy Vluggen10-Dec-14 12:24
professionalEddy Vluggen10-Dec-14 12:24 
AnswerRe: Pet Peeve Pin
Xmen Real 10-Dec-14 16:10
professional Xmen Real 10-Dec-14 16:10 
AnswerRe: Pet Peeve Pin
StatementTerminator12-Dec-14 3:27
StatementTerminator12-Dec-14 3:27 
GeneralRe: Pet Peeve Pin
Nemanja Trifunovic10-Dec-14 12:32
Nemanja Trifunovic10-Dec-14 12:32 
GeneralRe: Pet Peeve Pin
Marc Clifton10-Dec-14 13:07
mvaMarc Clifton10-Dec-14 13:07 
GeneralRe: Pet Peeve Pin
BillWoodruff10-Dec-14 19:07
professionalBillWoodruff10-Dec-14 19:07 
GeneralRe: Pet Peeve Pin
Andy Brummer10-Dec-14 16:13
sitebuilderAndy Brummer10-Dec-14 16:13 
If both branches are a single line, I prefer the second. However, I've seen too much of this abomination:

C#
if (condition)
{
    DoThis();
    DoSomethingElse();
}
else
    DoThat();


Curvature of the Mind now with 3D


GeneralRe: Pet Peeve Pin
Mark_Wallace10-Dec-14 18:24
Mark_Wallace10-Dec-14 18:24 
GeneralRe: Pet Peeve Pin
BillWoodruff10-Dec-14 19:12
professionalBillWoodruff10-Dec-14 19:12 
GeneralRe: Pet Peeve Pin
Sandeep Singh Shekhawat10-Dec-14 19:40
professionalSandeep Singh Shekhawat10-Dec-14 19:40 
GeneralRe: Pet Peeve Pin
DJ van Wyk10-Dec-14 20:15
professionalDJ van Wyk10-Dec-14 20:15 
GeneralRe: Pet Peeve Pin
JeremyBob10-Dec-14 20:42
JeremyBob10-Dec-14 20:42 
GeneralRe: Pet Peeve Pin
DJ van Wyk10-Dec-14 20:46
professionalDJ van Wyk10-Dec-14 20:46 
GeneralRe: Pet Peeve Pin
Andy_L_J10-Dec-14 20:42
Andy_L_J10-Dec-14 20:42 
GeneralRe: Pet Peeve Pin
Jörgen Andersson10-Dec-14 22:34
professionalJörgen Andersson10-Dec-14 22:34 
GeneralRe: Pet Peeve Pin
Johnny J.10-Dec-14 23:06
professionalJohnny J.10-Dec-14 23:06 
GeneralRe: Pet Peeve Pin
Jacquers10-Dec-14 23:43
Jacquers10-Dec-14 23:43 
GeneralRe: Pet Peeve Pin
Fabio Franco11-Dec-14 0:14
professionalFabio Franco11-Dec-14 0:14 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov11-Dec-14 5:29
R. Giskard Reventlov11-Dec-14 5:29 
GeneralRe: Pet Peeve Pin
Vark11111-Dec-14 3:05
Vark11111-Dec-14 3:05 
JokeRe: Pet Peeve Pin
Johnny J.11-Dec-14 3:25
professionalJohnny J.11-Dec-14 3:25 
GeneralRe: Pet Peeve Pin
robertschoenstein11-Dec-14 6:46
professionalrobertschoenstein11-Dec-14 6:46 
GeneralRe: Pet Peeve Pin
jschell13-Dec-14 6:16
jschell13-Dec-14 6:16 
GeneralRe: Pet Peeve Pin
Al Chak15-Dec-14 6:02
Al Chak15-Dec-14 6:02 

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.