Using goto statements

Roger Doss · ACM SIGSOFT Software Engineering Notes · 2014

This article discusses several uses of the goto statement in modern C/C++ code. The goto statement is considered a harmful statement, which is generally not recommended for use in "high-level" languages. In this discussion, several uses of the goto statement that are helpful in a controlled setting will be presented. These usages are for error handling and jumping out of nested loops.

Read the paper · More papers on PaperTik