Hacker News new | past | comments | ask | show | jobs | submit login

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.



Or you can invert it and use `.expect("TODO add error handling")`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: