Hacker News new | ask | show | jobs
by TheSockStealer 1595 days ago
Used like this, it is not much different than a try-catch block
2 comments

Yeah and it's make sense to use it this way since there is no try-catch in C.
Reminds me of BASIC best practices:

    ON ERROR GOTO handler
    [try code here] 
    GOTO finally

    handler:
    [catch code here]

    finally:
    [finally code here]