Goto Considered Sick (for error handling in C) (thestateofinahaze.net) 2 points by birdculture 2d ago ↗ HN
[–] ventana 2d ago ↗ And if either your linter or you personally hate goto, the acceptable trick for this in C is a "do ... while (0);" loop with a "break;" statement inside it acting exactly like "goto end;".
1 comment
[ 3.3 ms ] story [ 8.7 ms ] thread