Click here to Skip to main content
14,490,096 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: Someone slap me Pin
Chris Maunder5-Feb-18 3:29
cofounderChris Maunder5-Feb-18 3:29 
GeneralRe: Someone slap me Pin
CPallini5-Feb-18 9:31
mveCPallini5-Feb-18 9:31 
GeneralRe: Someone slap me Pin
Marc Clifton5-Feb-18 0:47
mvaMarc Clifton5-Feb-18 0:47 
GeneralRe: Someone slap me Pin
Chris Maunder5-Feb-18 3:28
cofounderChris Maunder5-Feb-18 3:28 
GeneralRe: Someone slap me Pin
ZurdoDev5-Feb-18 2:00
mveZurdoDev5-Feb-18 2:00 
GeneralRe: Someone slap me Pin
raddevus5-Feb-18 2:17
mvaraddevus5-Feb-18 2:17 
GeneralRe: Someone slap me Pin
Chris Maunder5-Feb-18 3:30
cofounderChris Maunder5-Feb-18 3:30 
GeneralRe: Someone slap me Pin
Richard Deeming5-Feb-18 8:39
mveRichard Deeming5-Feb-18 8:39 
raddevus wrote:
bool myVar = (value < 0) ? true : false;

raddevus wrote:
bool myVar = (value < 0)? true : (value > 0 ? false : true);

That's the "advanced" version with the extra subtle bug that flips the result when value == 0, right? Laugh | :laugh:



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Someone slap me Pin
raddevus5-Feb-18 9:20
mvaraddevus5-Feb-18 9:20 
GeneralRe: Someone slap me Pin
Dr.Walt Fair, PE5-Feb-18 6:40
subeditorDr.Walt Fair, PE5-Feb-18 6:40 
GeneralRIP Edwin Jackson PinPopular
Brisingr Aerowing4-Feb-18 15:32
professionalBrisingr Aerowing4-Feb-18 15:32 
GeneralRe: RIP Edwin Jackson Pin
Slacker0074-Feb-18 22:13
professionalSlacker0074-Feb-18 22:13 
GeneralRe: RIP Edwin Jackson Pin
User 84205-Feb-18 8:31
MemberUser 84205-Feb-18 8:31 
GeneralRe: RIP Edwin Jackson Pin
Slacker0075-Feb-18 9:32
professionalSlacker0075-Feb-18 9:32 
GeneralTIL (Win + Ctrl + C) Pin
Brisingr Aerowing3-Feb-18 19:15
professionalBrisingr Aerowing3-Feb-18 19:15 
GeneralRe: TIL (Win + Ctrl + C) Pin
Kent Sharkey3-Feb-18 20:11
staffKent Sharkey3-Feb-18 20:11 
JokeRe: TIL (Win + Ctrl + C) Pin
phil.o3-Feb-18 21:58
mvephil.o3-Feb-18 21:58 
GeneralRe: TIL (Win + Ctrl + C) Pin
Dr.Walt Fair, PE5-Feb-18 6:47
subeditorDr.Walt Fair, PE5-Feb-18 6:47 
GeneralRe: TIL (Win + Ctrl + C) Pin
Eddy Vluggen4-Feb-18 4:00
professionalEddy Vluggen4-Feb-18 4:00 
GeneralRe: TIL (Win + Ctrl + C) Pin
Dr.Walt Fair, PE5-Feb-18 6:48
subeditorDr.Walt Fair, PE5-Feb-18 6:48 
GeneralRe: TIL (Win + Ctrl + C) Pin
Eddy Vluggen5-Feb-18 7:52
professionalEddy Vluggen5-Feb-18 7:52 
GeneralRe: TIL (Win + Ctrl + C) Pin
Gary R. Wheeler4-Feb-18 4:15
MemberGary R. Wheeler4-Feb-18 4:15 
GeneralDoes Visual Studio 2017 get updates put out WAY TOO OFTEN? Pin
Brian C Hart3-Feb-18 8:32
professionalBrian C Hart3-Feb-18 8:32 
GeneralRe: Does Visual Studio 2017 get updates put out WAY TOO OFTEN? Pin
A_Griffin3-Feb-18 8:38
MemberA_Griffin3-Feb-18 8:38 
GeneralRe: Does Visual Studio 2017 get updates put out WAY TOO OFTEN? Pin
GuyThiebaut3-Feb-18 9:30
professionalGuyThiebaut3-Feb-18 9:30 

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.