3 ms·
I feel like this assumes that the errors that might be thrown by a section of code are knowable. For some high level projects with poorly documented dependencie
by haney 8y ago
I feel like this assumes that the errors that might be thrown by a section of code are knowable. For some high level projects with poorly documented dependencies interacting with third party services that are in constant flux it’s nearly impossible to know everything that’s going to happen and try..catch allows you to program defensibly when an assumption the programmer made is invalidated.