Uhh ... no. The if-else construct likely means (at least) one of the following:
- I expect the number of statements in either condition to grow. This is particularly true with transient debugging print statements.
- I expect to add one or more elsif clauses.
- I just removed the last elsif clause.
Code is written for humans, not computers. Please remember that.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?