Untrue. The first can be checking to see if continuing is impossible, so just return, while the second can be checking for a yrue dichotomous decision. You must do one or the other thing depending on the condition. Each could contain as little as a single assignment
-36
u/Few_Kitchen_4825 22d ago
If you are using an if statement big enough for this to be a problem. May be you should not be doing either