Submitted by Dacadey t3_z89cro in explainlikeimfive
Coincedence t1_iyclmnt wrote
Reply to comment by Sloloem in ELI5: why is using "goto" considered to be a bad practice in programming? by Dacadey
There are certain situations where GOTO makes sense. I've had to use once or twice to do thins like restart a loop arbitraily where you have go back to a parent loop that may be 3 or 4 times removed. Its not ideal, and in nearly every case there are better alternatives, but GOTO is still valid sometimes
Viewing a single comment thread. View all comments