Re:Goto (2007)
by NtGuy25 on Thursday October 21, 2021 @01:04PM
(#28947562)
If you have a dispatcher or an infinite state machine, say an emulator. Or even just anything in general with cleanup, you use goto to "goto ERRORCLEANUP". So you have one exit condition to clean up. This is recommended in CERT c.
[ Parent
| on HN ]
There are no comments on this comment yet.