Re:Modern C for C++ Peeps
by int_19h on Saturday January 07, 2023 @04:55PM
(#34293305)
Cleanup goto-style is hard to describe as a "rat's nest", since all the gotos in the same function go to the same label at the end that just does all the cleanup before returning. There's nothing clever about it, and many codebases wrap it into macros and such to make the syntax more concise and the intent explicit.
[ Parent
| on HN ]