3 ms·
The classification is probably right, but this post feels half-baked. There are some valuable points in here (never suppress exceptions that indicate programmin
by lmm 1y ago
The classification is probably right, but this post feels half-baked. There are some valuable points in here (never suppress exceptions that indicate programming errors!) but it's missing guidance on how to handle cases like bad user input, and how to actually do the exception handling for cases like file not found.
- xg15 1y agoI don't think there is a lot of guidance you can give in those situations, as the right ways to handle those exceptions are highly context specific. But the point is that you can handle them at all, as opposed to the other types.