Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
cwalv
3y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
preseinger
3y ago
you say "optional", i say "explicit"
it's important that i see the `return` keyword in the source code
j
/
k
navigate · click thread line to collapse