|
|
|
|
|
by qchris
515 days ago
|
|
I think you're using the term "assumed" incorrectly. Per Webster's dictionary[1]: > Presume is used when someone is making an informed guess based on reasonable evidence. Assume is used when the guess is based on little or no evidence. I'm not assuming they don't know what they're talking about, I'm asserting (or presuming) that they don't know what they're talking about based on supporting evidence showing that it is possible to catch panics. Similarly, I didn't say that they didn't know how to Google. I presumed it was likely they didn't put in a good-faith effort to do so, because in my judgement if they had, it would have been trivial to find the aforementioned information per my experience having just done the same. [1] https://www.merriam-webster.com/dictionary/assume |
|
But the point is that I need to now do this with every use of a third party library. And for example with pdf-rs it was happening on relatively minor things e.g. incorrect date format. And what if I want to set panic=abort on my app to prevent data corruption in my code.
Setting panic in an app shouldn’t mean it is applied globally.