Re:Dark side of ergonomics in Rust
by jstimpfle on Saturday April 14, 2018 @02:19PM
(#16838643)
> Isn't it the caller further up the stack that knows best what to do?
Often yes (one of the exceptions being a simple die() routine that cleans up only global state). It's just pseudocode, and in real code you will often not call any functions in the exception handling block.
Often yes (one of the exceptions being a simple die() routine that cleans up only global state). It's just pseudocode, and in real code you will often not call any functions in the exception handling block.