2 ms·
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 er
by bobbylarrybobby 2y 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).