Click here to Skip to main content
15,891,136 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
Jeremy Falcon11-Dec-14 10:08
professionalJeremy Falcon11-Dec-14 10:08 
GeneralRe: Pet Peeve Pin
rjmoses12-Dec-14 10:18
professionalrjmoses12-Dec-14 10:18 
GeneralRe: Pet Peeve Pin
ronchristie13-Dec-14 9:04
ronchristie13-Dec-14 9:04 
GeneralRe: Pet Peeve PinPopular
Tom Clement10-Dec-14 10:23
professionalTom Clement10-Dec-14 10:23 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 10:25
professionalJeremy Falcon10-Dec-14 10:25 
GeneralRe: Pet Peeve Pin
Maximilien10-Dec-14 10:26
Maximilien10-Dec-14 10:26 
GeneralRe: Pet Peeve Pin
Mike Hankey10-Dec-14 10:33
mveMike Hankey10-Dec-14 10:33 
GeneralRe: Pet Peeve Pin
Dan Neely10-Dec-14 10:56
Dan Neely10-Dec-14 10:56 
In a coding standard that put's {'s on their own line I prefer this:

C#
if (condition)
    DoThis();
else DoThat();


If you're putting the { on the previous line, IMO they're easy enough to overlook that the explicit closing } is needed.

And if you're writing javascript Cry | :(( the opening { is obligate and this:

JavaScript
if (condition) { DoThis(); 
} else {DoThat();}


or this:

JavaScript
if (condition) DoThis() else DoThat();


are obscenities. Dead | X|
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Pet Peeve Pin
Ian Shlasko10-Dec-14 11:09
Ian Shlasko10-Dec-14 11:09 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:21
professionalJeremy Falcon10-Dec-14 11:21 
GeneralRe: Pet Peeve Pin
kmoorevs10-Dec-14 11:28
kmoorevs10-Dec-14 11:28 
GeneralRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:46
professionalJeremy Falcon10-Dec-14 11:46 
GeneralRe: Pet Peeve Pin
kmoorevs10-Dec-14 11:49
kmoorevs10-Dec-14 11:49 
GeneralRe: Pet Peeve Pin
Mladen Janković10-Dec-14 12:11
Mladen Janković10-Dec-14 12:11 
GeneralRe: Pet Peeve Pin
enhzflep10-Dec-14 14:15
enhzflep10-Dec-14 14:15 
GeneralRe: Pet Peeve Pin
R. Giskard Reventlov10-Dec-14 15:12
R. Giskard Reventlov10-Dec-14 15:12 
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 
GeneralRe: Pet Peeve Pin
Mark_Wallace10-Dec-14 18:24
Mark_Wallace10-Dec-14 18:24 

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.