Click here to Skip to main content
14,769,602 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: Do you Program in Paragraphs or Sentences? Pin
Bruce Patin1-Jun-18 5:11
MemberBruce Patin1-Jun-18 5:11 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 5:14
MemberRandyBuchholz1-Jun-18 5:14 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Bruce Patin1-Jun-18 5:43
MemberBruce Patin1-Jun-18 5:43 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
MSBassSinger1-Jun-18 5:39
professionalMSBassSinger1-Jun-18 5:39 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 7:18
MemberRandyBuchholz1-Jun-18 7:18 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Member 79891221-Jun-18 9:39
MemberMember 79891221-Jun-18 9:39 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Kirk 103898211-Jun-18 6:14
MemberKirk 103898211-Jun-18 6:14 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 7:03
mveGerry Schmitz1-Jun-18 7:03 
Quote:
string Foo(int x){
if (x == 1) {
return "one";
} else {
return "not one";
}
}

string Foo(int x) { return x == 1 ? "one" : "not one"; }

(I also tend to twitch when I see a "return" followed by an "else".)
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal


modified 1-Jun-18 12:10pm.

GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 7:27
MemberRandyBuchholz1-Jun-18 7:27 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 7:38
mveGerry Schmitz1-Jun-18 7:38 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 8:08
MemberRandyBuchholz1-Jun-18 8:08 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 8:44
mveGerry Schmitz1-Jun-18 8:44 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Member 79891221-Jun-18 9:52
MemberMember 79891221-Jun-18 9:52 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Vivi Chellappa2-Jun-18 5:21
professionalVivi Chellappa2-Jun-18 5:21 
GeneralThought of the Day Pin
OriginalGriff31-May-18 5:56
mveOriginalGriff31-May-18 5:56 
GeneralRe: Thought of the Day Pin
lopatir31-May-18 6:00
Memberlopatir31-May-18 6:00 
GeneralRe: Thought of the Day Pin
OriginalGriff31-May-18 6:07
mveOriginalGriff31-May-18 6:07 
GeneralRe: Thought of the Day Pin
Johnny J.31-May-18 6:23
professionalJohnny J.31-May-18 6:23 
GeneralRe: Thought of the Day Pin
Richard Deeming31-May-18 6:31
mveRichard Deeming31-May-18 6:31 
GeneralRe: Thought of the Day Pin
jeron131-May-18 7:05
Memberjeron131-May-18 7:05 
GeneralRe: Thought of the Day Pin
Eric Lynch31-May-18 8:26
MemberEric Lynch31-May-18 8:26 
GeneralRe: Thought of the Day Pin
Mike Hankey31-May-18 8:26
professionalMike Hankey31-May-18 8:26 
GeneralRe: Thought of the Day Pin
W Balboos, GHB31-May-18 8:31
mveW Balboos, GHB31-May-18 8:31 
GeneralRe: Thought of the Day Pin
kmoorevs31-May-18 8:43
Memberkmoorevs31-May-18 8:43 
GeneralMy problem with open source stuff... Pin
OriginalGriff31-May-18 5:43
mveOriginalGriff31-May-18 5:43 

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.