in reply to Conditional style (if, &&) query
But if I was writing to somebody who knew the red button was a bad idea but didn't know exactly what was bad about it, I might writeif you press the red button, the ejector seat will launch
So my choice between B and C isthe ejector seat will launch if you press the red button
You notice that here I used C, since we all know what the different options are, and what's at issue is under what conditions we use them.if (the condition is more significant than what I do if the condition +is met) { use option C; } elsif (what I do if the condition is met is the interesting bit) { use option B; } else { probably use C on the same basis as [bjohnso]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Conditional style (if, &&) query
by jackdied (Monk) on Oct 17, 2001 at 03:12 UTC | |
by blakem (Monsignor) on Oct 17, 2001 at 03:21 UTC | |
|
Re: Re: Conditional style (if, &&) query
by Elliott (Pilgrim) on Oct 17, 2001 at 12:53 UTC |