3 ms·
> I've seen way too many programs with a single exception handler right at the base of the program, that just goes "whoops, something bad happened, bye!". Rega
by gumby 6y ago
> I've seen way too many programs with a single exception handler right at the base of the program, that just goes "whoops, something bad happened, bye!".
Regardless of one's view of execution handling, why would anyone even bother to do this? If you don't catch it and exit the program will exit anyway.
- dgellow 6y agoTo have cleaner logs maybe? Stack trace are often a mess to parse. Or at least correctly close resources such as DB connections before exiting?