Citoval bych tady úryvek z knihy
Modern C k použití
goto pro error handling:
CitaceThe use of goto and similar jumps in programming languages has been subject to intensive debate, starting from an article by Dijkstra [1968]. You will still find people who seriously object to code as it is given here, but let us try to be pragmatic about that: code with or without goto can be ugly and hard to follow. The main idea is to have the "normal" control flow of the function be mainly undisturbed and to clearly mark changes to the control flow that only occur under exceptional circumstances with a goto or return.
Na straně 240-249 je pak o něco komplikovanější příklad, kde použití
goto dává smysl...