4 ms·
One nice thing about a single exit point is it's easier to add logging, particularly for logging a return value. Only one call is needed, instead of tracking do
by dcuthbertson 9y ago
One nice thing about a single exit point is it's easier to add logging, particularly for logging a return value. Only one call is needed, instead of tracking down every exit point in the function.