4 ms·
Here's a strong suggestion to anyone thinking "goto -> automatically bad". Before you rag on that lonely goto that is used for clearly structured error reportin
by agent327 5y ago
Here's a strong suggestion to anyone thinking "goto -> automatically bad". Before you rag on that lonely goto that is used for clearly structured error reporting in some C-source, go and find some actual source that was written before structured programming became a thing. The problem those people had wasn't that single goto; it was the random jumping all over the place that was used for all forms of flow control. If you haven't seen that you cannot imagine what it was like. Today's sad little goto offers no danger whatsoever in the few places where it's still being used, and we should really stop hammering on about it when it has been dead and buried for longer than most of you have been alive.