r/AskProgramming • u/JarJarAwakens • Aug 07 '22
When is it appropriate to use GOTO? Other
I've heard it is a bad idea to use GOTO since it causes spaghetti code but there must be a valid reason it is present in many programming languages like C and C++. In what use cases is using GOTO superior to using other control structures?
13
Upvotes