News for hackers. Stuff that matters.
Re:“No-else-after-return” considered harmful by anamax on Monday August 31, 2009 @03:41AM (#795575)
> if you need to perform cleanup, then instead of returning, use goto to jump to a single end-of-function cleanup handler.

That assumes that all of the cleanup is the same and that all of the relevant information that is available at the subroutine's top level.

There are no comments on this comment yet.