Click here to Skip to main content
15,913,298 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: Department of Redundancy Department Pin
Chris Maunder20-Dec-17 8:50
cofounderChris Maunder20-Dec-17 8:50 
GeneralRe: Department of Redundancy Department Pin
Dan Neely21-Dec-17 4:09
Dan Neely21-Dec-17 4:09 
GeneralRe: Department of Redundancy Department Pin
David O'Neil20-Dec-17 10:52
professionalDavid O'Neil20-Dec-17 10:52 
AnswerRe: Department of Redundancy Department Pin
megaadam20-Dec-17 12:41
professionalmegaadam20-Dec-17 12:41 
GeneralRe: Department of Redundancy Department Pin
Dan Neely21-Dec-17 3:24
Dan Neely21-Dec-17 3:24 
GeneralRe: Department of Redundancy Department Pin
den2k8821-Dec-17 3:53
professionalden2k8821-Dec-17 3:53 
GeneralRe: Department of Redundancy Department Pin
Dan Neely21-Dec-17 4:08
Dan Neely21-Dec-17 4:08 
GeneralRe: Department of Redundancy Department Pin
obermd21-Dec-17 4:06
obermd21-Dec-17 4:06 
Could you actually have written something else and realized you had "identical" code in both clauses of the if statement, leading to the obvious replacement with your function calls. You just hadn't made the next step yet.

GeneralRe: Department of Redundancy Department Pin
Andy Malcolm 221-Dec-17 5:30
Andy Malcolm 221-Dec-17 5:30 
GeneralRe: Department of Redundancy Department Pin
ajhampson21-Dec-17 8:07
ajhampson21-Dec-17 8:07 
GeneralRe: Department of Redundancy Department Pin
ajhampson21-Dec-17 8:12
ajhampson21-Dec-17 8:12 
GeneralRe: Department of Redundancy Department Pin
Kirk 1038982121-Dec-17 8:16
Kirk 1038982121-Dec-17 8:16 
GeneralThought of the Day PinPopular
OriginalGriff20-Dec-17 4:58
mveOriginalGriff20-Dec-17 4:58 
GeneralRe: Thought of the Day Pin
W Balboos, GHB20-Dec-17 5:03
W Balboos, GHB20-Dec-17 5:03 
GeneralRe: Thought of the Day Pin
kmoorevs20-Dec-17 5:33
kmoorevs20-Dec-17 5:33 
GeneralRe: Thought of the Day Pin
PeejayAdams20-Dec-17 5:54
PeejayAdams20-Dec-17 5:54 
GeneralRe: Thought of the Day Pin
Gary Wheeler20-Dec-17 7:03
Gary Wheeler20-Dec-17 7:03 
GeneralRe: Thought of the Day Pin
Richard Deeming20-Dec-17 6:12
mveRichard Deeming20-Dec-17 6:12 
GeneralRe: Thought of the Day Pin
TNCaver20-Dec-17 6:31
TNCaver20-Dec-17 6:31 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer20-Dec-17 18:45
professionalDaniel Pfeffer20-Dec-17 18:45 
GeneralRe: Thought of the Day Pin
Slow Eddie21-Dec-17 2:54
professionalSlow Eddie21-Dec-17 2:54 
GeneralDay's Thought Pin
W Balboos, GHB20-Dec-17 4:45
W Balboos, GHB20-Dec-17 4:45 
RantRe: Day's Thought Pin
Daniel Pfeffer20-Dec-17 5:02
professionalDaniel Pfeffer20-Dec-17 5:02 
JokeRe: Day's Thought Pin
Richard Deeming20-Dec-17 6:11
mveRichard Deeming20-Dec-17 6:11 
GeneralRe: Day's Thought Pin
Jörgen Andersson20-Dec-17 6:32
professionalJörgen Andersson20-Dec-17 6:32 

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.