3 ms·
In my experience, the vast majority of the time the best (or only) way to correctly deal with the error is to propagate it up the stack. Making this optional (h
by cwalv 3y ago
In my experience, the vast majority of the time the best (or only) way to correctly deal with the error is to propagate it up the stack. Making this optional (having to explicitly check return values) doesn't make it more likely to be done.
- preseinger 3y agoyou say "optional", i say "explicit" it's important that i see the `return` keyword in the source code