GOTO Considered Totally Sick (for error handling in C)
A practical C example shows how a shared goto cleanup path can replace duplicated resource-release logic on error exits.
Lobsters commenters compare the idiom with block-scoped defer in C’s evolving standard, and disagree about how much it improves readability over explicit cleanup labels.