Any time something depends on "if you can be very sure...", a little bell goes off in a good programmer's head.
Leave off the final "else" if, and only if, there are some cases where nothing at all should happen. If this isn't the case, then what's the point of the last "if"? If there are no cases not covered by the three "if" conditions, then the last "if" can be omitted without changing the code, right?
and then had it show up in production. Me for one. Trust me, it can happen.
Extra points for the TV show episode with that title. [ July 24, 2007: Message edited by: Stan James ]
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi