The “Single Exit Point” Idiom — Is It Still Relevant?
Many programming schools recommend that functions have only a single exit point. For example, the following function is considered bad programming practice because it contains three potential exit points: int