That's a feeling that I had when I started programming and many years along the way: you feel like you should eventually catch all exceptions.
But that's not true. I embrace and expect exceptions. That's the runtime automatically checking that all possible inputs are correct and telling me when I was wrong. It's the luxury of getting explicit bugs neatly organized in Sentry reports.
If you ask me, all that sugarcoating is a sweet and seductive idea, but it's a bad idea.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's a feeling that I had when I started programming and many years along the way: you feel like you should eventually catch all exceptions.
But that's not true. I embrace and expect exceptions. That's the runtime automatically checking that all possible inputs are correct and telling me when I was wrong. It's the luxury of getting explicit bugs neatly organized in Sentry reports.
If you ask me, all that sugarcoating is a sweet and seductive idea, but it's a bad idea.