Click here to Skip to main content
15,892,537 members

Survey Results

In which order do you test conditionals?   [Edit]

Survey period: 19 Jan 2009 to 26 Jan 2009

Behind every seemingly trival task there are vast schools of philosophy.

OptionVotes% 
Always if (statement is true) then... 42920.32
Always if (statement is false) then...572.70
It specifically depends on the situation1,42167.31
Random.482.27
I"ve never actually thought about it1567.39



 
GeneralRe: A missing option: I never use conditionals Pin
ciricivan19-Jan-09 5:49
ciricivan19-Jan-09 5:49 
GeneralRe: A missing option: I never use conditionals Pin
lepipele19-Jan-09 5:53
lepipele19-Jan-09 5:53 
GeneralWell PinPopular
#realJSOP19-Jan-09 2:34
mve#realJSOP19-Jan-09 2:34 
GeneralRe: Well Pin
peterchen19-Jan-09 3:17
peterchen19-Jan-09 3:17 
GeneralRe: Well Pin
Dan Suthar19-Jan-09 3:51
professionalDan Suthar19-Jan-09 3:51 
GeneralRe: Well Pin
Mohm'ed Melhem19-Jan-09 8:11
professionalMohm'ed Melhem19-Jan-09 8:11 
GeneralDepends on the situation Pin
peterchen19-Jan-09 2:33
peterchen19-Jan-09 2:33 
GeneralInfidel! You return more than once from a routine! Pin
jhwurmbach19-Jan-09 3:07
jhwurmbach19-Jan-09 3:07 
Mad | :mad: You will burn on a stake for that!

While we were at strong opinions... Big Grin | :-D
Personally, I have no problem with multiple returns. But an amazing number of styleguides strongly forbid it - contrary to intuition and code readability, as I think.

Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: Infidel! You return more than once from a routine! Pin
peterchen19-Jan-09 3:15
peterchen19-Jan-09 3:15 
GeneralRe: Depends on the situation Pin
sashoalm19-Jan-09 4:19
sashoalm19-Jan-09 4:19 
GeneralRe: Depends on the situation Pin
Shog919-Jan-09 4:39
sitebuilderShog919-Jan-09 4:39 
GeneralIt depends Pin
Graham Shanks19-Jan-09 2:25
Graham Shanks19-Jan-09 2:25 
GeneralRe: It depends Pin
Brad Stiles19-Jan-09 3:36
Brad Stiles19-Jan-09 3:36 
GeneralRe: It depends Pin
firegryphon19-Jan-09 13:24
firegryphon19-Jan-09 13:24 
GeneralRe: It depends Pin
ghle19-Jan-09 14:39
ghle19-Jan-09 14:39 
GeneralRe: It depends Pin
tsdragon19-Jan-09 23:56
tsdragon19-Jan-09 23:56 
AnswerIs this a trick question? Pin
Michael Gage19-Jan-09 2:02
Michael Gage19-Jan-09 2:02 
GeneralRe: Is this a trick question? Pin
peterchen19-Jan-09 2:34
peterchen19-Jan-09 2:34 
GeneralAlways FALSE first Pin
Paul Darlington19-Jan-09 1:56
Paul Darlington19-Jan-09 1:56 
GeneralRe: Always FALSE first Pin
MatrixDud19-Jan-09 5:20
MatrixDud19-Jan-09 5:20 
GeneralRe: Always FALSE first Pin
Paul Darlington19-Jan-09 5:25
Paul Darlington19-Jan-09 5:25 
GeneralRe: Always FALSE first Pin
MatrixDud20-Jan-09 11:14
MatrixDud20-Jan-09 11:14 
GeneralRe: Always FALSE first Pin
PIEBALDconsult20-Jan-09 8:03
mvePIEBALDconsult20-Jan-09 8:03 
JokeOut of ideas for surveys are we? PinPopular
PedroMC19-Jan-09 1:35
PedroMC19-Jan-09 1:35 
GeneralAnd what about? Pin
ittay ophir19-Jan-09 0:17
ittay ophir19-Jan-09 0:17 

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.