Hacker News new | ask | show | jobs
by voidiac 4488 days ago
Goto is quite common among c-programmers when it comes to error handling.
1 comments

Yeah, though I refactored their code to avoid the "goto", as an exercise. It would indeed facilitate making separate functions for common swaths of code, notably the duplicate code blocks beginning with ReadyHash and ending with SSLHashSHA1.final. Exactly as I said, goto makes it harder to refactor code.