Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it safe to say this is basically a more practical version of EXCEPTION_CONTINUE_EXECUTION? [1]

Also, on another note, it's not really true that "things in the middle don’t need to concern themselves with error handling". That's what exception-safety is about. You very much do need to concern yourself with exception handling if you want to allow the possibility of a caller handling a callee's exception. Also see [2].

[1] https://docs.microsoft.com/en-us/windows/win32/debug/excepti...

[2] https://devblogs.microsoft.com/oldnewthing/20120910-00/?p=66...



Or "structured" coroutines, which jump to a previously established handler? In the _enumerateFiles_ example, control keeps jumping between that routine and the different procedures declared in the handler, which take care of different needed functions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: