3 ms·
And even that is wrong, single entrance/exit was originally because you had subroutines designed to be goto'd into at different points for different behavior an
by Spivak 3y ago
And even that is wrong, single entrance/exit was originally because you had subroutines designed to be goto'd into at different points for
different behavior and would goto different points outside the subroutine as the exit.
There are pretty much no languages left today where it's even possible to violate this principle without really trying, it's not about having single a return it's about all the functions starting at the top and return statements always taking you back to the same place in the code.