Hacker News new | ask | show | jobs
by bobbylarrybobby 714 days ago
Code that panics on bad external input (such as the OS) is incredibly sloppy. They already have the Result — they can just bubble it up and present an actual error message (and maybe even ask for diagnostics, etc).