News for hackers. Stuff that matters.
Re:GOTO (Still) Considered Harmful by voidiac on Tuesday March 04, 2014 @07:57AM (#7339878)
Goto is quite common among c-programmers when it comes to error handling.
Re:GOTO (Still) Considered Harmful by fexl on Tuesday March 04, 2014 @08:03AM (#7339900)
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.