Hello,
I am developing a routine which has mutiple returns. Some of the returns are in deep nested loops.
Is it bad programming practice to return from deep nested loops? If yes, Is there any way to avoid that?
I am trying structure my coding, like on all succcessful if condition do what it needs to and all else will fall to one return. But for nested return, I do not have any trick.
Any other idea or pointers will be greately appreciated...
Thanks,
Juganoo