I shouldn't like anyone to think I'm an expert, but my £/50 is that it's nice to make the code read as much like English as possible. When I'm writing prose, I try to put the most important bit of the sentence in the most prominent place. So, say there are two buttons, a read and a blue one, and the red one is the ejector seat. If I'm writing to somebody who knows that one of the buttons will blow you out of your seat, I'd write
if you press the red button, the ejector seat will launch
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 write
the ejector seat will launch if you press the red button
So my choice between B and C is
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];
}
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.
§
George Sherston