Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Where Everything Went Wrong: Error Handling and Error Messages in Rust (2020). Parent comment
Something is a failure when it fails to do what it says it does.
openfile();
If openfile() does not open a file, then it failed.
This terminology makes it clear we are not just bubbling up errors. It’s the function itself which failed.
There are no comments on this comment yet.
Something is a failure when it fails to do what it says it does.
openfile();
If openfile() does not open a file, then it failed.
This terminology makes it clear we are not just bubbling up errors. It’s the function itself which failed.