Hi everyone,<div><br></div><div>I have seen similar questions before on the forum but I could never understand the reason behind it. Is it due to theoretical reasons such as <i>return </i>statement makes it hard to reason about the program or practical reasons that it is hard to implement it (this doesn't seem right but I cannot think of anything else)?</div><div><br></div><div>Moreover, is there a good alternate to avoid nested case statements? Making more functions just seems tedious. Using <i>catch </i>statementĀ seems another good alternate but my intuition is that it is not good practice, is it?</div><div><br></div><div>Thank you</div><div>Aman Mangal</div><div><a href="http://www.prism.gatech.edu/~amangal7">www.prism.gatech.edu/~amangal7</a></div>