Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, most of that code is stuff like examples and tests, and most errors should be forwarded, not unwrapped. But yeah, of course if a resource that you depend on is potentially in an invalid state thanks to a thread crashing, it makes perfect sense to unwrap / expect.


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

Search: