Y
Hacker News
new
|
ask
|
show
|
jobs
by
sanderjd
1406 days ago
I think this is a good answer. People should use `expect` for this "I'm sure this is fine" case, with descriptive text about why it's fine.
1 comments
tomjakubowski
1406 days ago
Or you can invert it and use `.expect("TODO add error handling")`
link