News for hackers. Stuff that matters.
Re:LLVM Programmer’s Manual by vvanders on Friday July 22, 2016 @10:23AM (#12143667)
You should be using RAII for any resources that you need to automatically clean up, then any return statement will catch it. No need for exceptions.
Re:LLVM Programmer’s Manual by cyphar on Friday July 22, 2016 @01:47PM (#12145268)
RAII is not a feature of C. I was commenting on how gotos are not like exceptions, because gotos are actually useful and don't cause your program to make less sense as a result.