Quote Originally Posted by Thomas_v2.1 View Post
Eigentlich hat jede ernstzunehmende Sprache ein goto, und bestimmt nicht ohne Grund...
Für die Programmiersprache C kann man sogar die Entwickler zitieren:

"C provides the infinitely-abusable goto statement, and labels to
branch to. Formally, the goto is never necessary , and in practice
it is almost always easy to write code without it. [...] Nevertheless,
there are a few situations where goto may find a place. The most
common is to abandon processing in some deeply nested structure, such as
breaking out of two or more loops at once. [...]"
(Kernighan & Ritchie, The C Programming Language)