3 ms·
> If I am in the business of writing robust code; then "assuming all functions can throw" means at the very least forcing every function call to be surrounded b
by wvenable 4y ago
> If I am in the business of writing robust code; then "assuming all functions can throw" means at the very least forcing every function call to be surrounded by a try/catch block?
No, absolutely not! You only care about errors where you can retry/ignore or log and terminate so you only have try/catch in those areas. So maybe one or two.