Click here to Skip to main content
15,890,512 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: Which do you prefer? A programming question! Pin
harold aptroot1-Jul-21 7:56
harold aptroot1-Jul-21 7:56 
GeneralRe: Which do you prefer? A programming question! Pin
Mike Hankey1-Jul-21 8:05
mveMike Hankey1-Jul-21 8:05 
GeneralRe: Which do you prefer? A programming question! Pin
Marc Clifton1-Jul-21 9:24
mvaMarc Clifton1-Jul-21 9:24 
GeneralRe: Which do you prefer? A programming question! Pin
Mike Hankey1-Jul-21 9:32
mveMike Hankey1-Jul-21 9:32 
GeneralRe: Which do you prefer? A programming question! Pin
BryanFazekas2-Jul-21 1:47
BryanFazekas2-Jul-21 1:47 
GeneralRe: Which do you prefer? A programming question! Pin
Alister Morton2-Jul-21 3:06
Alister Morton2-Jul-21 3:06 
GeneralRe: Which do you prefer? A programming question! Pin
Rusty Bullet6-Jul-21 7:19
Rusty Bullet6-Jul-21 7:19 
GeneralRe: Which do you prefer? A programming question! Pin
OriginalGriff1-Jul-21 8:25
mveOriginalGriff1-Jul-21 8:25 
I'm with all the others: first version is what I'd use.
It's easier to read, more efficient, and potentially means you don't have to carry the "decision variable(s)" through to the called method.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Which do you prefer? A programming question! Pin
rnbergren1-Jul-21 9:44
rnbergren1-Jul-21 9:44 
GeneralRe: Which do you prefer? A programming question! Pin
RickZeeland1-Jul-21 9:50
mveRickZeeland1-Jul-21 9:50 
GeneralRe: Which do you prefer? A programming question! PinPopular
Kschuler1-Jul-21 10:00
Kschuler1-Jul-21 10:00 
GeneralRe: Which do you prefer? A programming question! Pin
peterkmx1-Jul-21 11:40
professionalpeterkmx1-Jul-21 11:40 
GeneralRe: Which do you prefer? A programming question! Pin
Marc Clifton1-Jul-21 12:34
mvaMarc Clifton1-Jul-21 12:34 
GeneralRe: Which do you prefer? A programming question! Pin
Jon McKee1-Jul-21 11:01
professionalJon McKee1-Jul-21 11:01 
GeneralRe: Which do you prefer? A programming question! Pin
CodeWomble1-Jul-21 12:06
CodeWomble1-Jul-21 12:06 
GeneralRe: Which do you prefer? A programming question! Pin
Marc Clifton1-Jul-21 12:35
mvaMarc Clifton1-Jul-21 12:35 
GeneralRe: Which do you prefer? A programming question! Pin
Mircea Neacsu1-Jul-21 14:29
Mircea Neacsu1-Jul-21 14:29 
GeneralRe: Which do you prefer? A programming question! Pin
Wizard of Sleeves1-Jul-21 20:51
Wizard of Sleeves1-Jul-21 20:51 
GeneralRe: Which do you prefer? A programming question! Pin
KateAshman1-Jul-21 21:02
KateAshman1-Jul-21 21:02 
GeneralRe: Which do you prefer? A programming question! Pin
CPallini1-Jul-21 21:10
mveCPallini1-Jul-21 21:10 
GeneralRe: Which do you prefer? A programming question! Pin
rob tillaart1-Jul-21 21:40
rob tillaart1-Jul-21 21:40 
GeneralRe: Which do you prefer? A programming question! Pin
den2k881-Jul-21 21:48
professionalden2k881-Jul-21 21:48 
GeneralRe: Which do you prefer? A programming question! Pin
Private Dobbs1-Jul-21 21:54
Private Dobbs1-Jul-21 21:54 
GeneralRe: Which do you prefer? A programming question! Pin
YahiaEQ2-Jul-21 0:35
YahiaEQ2-Jul-21 0:35 
GeneralRe: Which do you prefer? A programming question! Pin
Delphi.7.Solutions2-Jul-21 1:11
Delphi.7.Solutions2-Jul-21 1:11 

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.