Click here to Skip to main content
15,892,965 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



 
GeneralIn which order do you test conditionals PinPopular
TomS4519-Jan-09 16:22
TomS4519-Jan-09 16:22 
GeneralRe: In which order do you test conditionals Pin
Jeremy Falcon20-Jan-09 6:33
professionalJeremy Falcon20-Jan-09 6:33 
GeneralHuh? PinPopular
PIEBALDconsult19-Jan-09 13:38
mvePIEBALDconsult19-Jan-09 13:38 
GeneralRe: Huh? Pin
hfrmobile19-Jan-09 22:24
hfrmobile19-Jan-09 22:24 
GeneralRe: Huh? Pin
Hamed Musavi19-Jan-09 23:44
Hamed Musavi19-Jan-09 23:44 
GeneralRe: Huh? Pin
Rob Philpott20-Jan-09 4:47
Rob Philpott20-Jan-09 4:47 
GeneralRe: Huh? Pin
PIEBALDconsult20-Jan-09 6:29
mvePIEBALDconsult20-Jan-09 6:29 
GeneralRe: Huh? PinPopular
Hamed Musavi20-Jan-09 8:08
Hamed Musavi20-Jan-09 8:08 
PIEBALDconsult wrote:
My point is that (some of) the provided answers make no sense and I can therefore not give a meaningful answer.


Your point is understood and my point is that if someone is clever enough to understand that even not in a conditional statement is compared to true, should easily understand the point of this survey question which is, again, what you use.

Actually this if will probably be translated to some jumps after some cmp instructions which in fact are not compared to neither true nor false but to 1 or 0.

Also one might say that cmp is not an instruction; it's nothing more than a number in binary form or even not that but some high or low voltages waiting for being processed in next CPU cycle. Oh wait they're not waiting there just a flipflop is... The survey question isn't talking about any of these. It's what you type in your programming editor. Based on the question I believe choices are relevant and make sense.

Just my 2 cents. Smile | :)

"In the end it's a little boy expressing himself."    Yanni


GeneralRe: Huh? Pin
Jeremy Falcon20-Jan-09 6:40
professionalJeremy Falcon20-Jan-09 6:40 
GeneralRe: Huh? Pin
PIEBALDconsult20-Jan-09 7:57
mvePIEBALDconsult20-Jan-09 7:57 
GeneralRe: Huh? Pin
Jeremy Falcon20-Jan-09 9:45
professionalJeremy Falcon20-Jan-09 9:45 
GeneralRe: Huh? Pin
PIEBALDconsult20-Jan-09 12:32
mvePIEBALDconsult20-Jan-09 12:32 
GeneralRe: Huh? Pin
jordan1322-Jan-09 5:09
jordan1322-Jan-09 5:09 
GeneralUse a CASE tool to do the job right Pin
Stuart Cox19-Jan-09 5:47
Stuart Cox19-Jan-09 5:47 
GeneralRe: Use a CASE tool to do the job right Pin
Dave Sexton19-Jan-09 6:37
Dave Sexton19-Jan-09 6:37 
GeneralRe: Use a CASE tool to do the job right Pin
Stuart Cox19-Jan-09 6:42
Stuart Cox19-Jan-09 6:42 
GeneralRe: Use a CASE tool to do the job right Pin
firegryphon19-Jan-09 13:02
firegryphon19-Jan-09 13:02 
GeneralRe: Use a CASE tool to do the job right Pin
W Balboos, GHB20-Jan-09 1:54
W Balboos, GHB20-Jan-09 1:54 
GeneralRe: Use a CASE tool to do the job right Pin
Dave Sexton20-Jan-09 2:00
Dave Sexton20-Jan-09 2:00 
GeneralRe: Use a CASE tool to do the job right Pin
W Balboos, GHB20-Jan-09 2:05
W Balboos, GHB20-Jan-09 2:05 
GeneralRe: Use a CASE tool to do the job right Pin
Dave Sexton20-Jan-09 3:02
Dave Sexton20-Jan-09 3:02 
GeneralRe: Use a CASE tool to do the job right Pin
W Balboos, GHB20-Jan-09 3:25
W Balboos, GHB20-Jan-09 3:25 
GeneralRe: Use a CASE tool to do the job right Pin
Dave Sexton20-Jan-09 4:47
Dave Sexton20-Jan-09 4:47 
GeneralMessage Removed Pin
19-Jan-09 5:35
professionalN_tro_P19-Jan-09 5:35 
GeneralRe: Check for Null Pin
WillemM19-Jan-09 5:48
WillemM19-Jan-09 5:48 

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.