Fun article. I do worry that the wrong person gets ahold of this and starts thinking exceptions are bad and forgoes them on the false altar of micro-optimization. Exceptions are incredibly powerful and should be used more not less. It should be a semi-rare occasion where an exception is thrown in any case, most commonly during development or caught in error reporting and bug report created and patched in the next release.
View all comments
6
u/[deleted] Sep 09 '20
Fun article. I do worry that the wrong person gets ahold of this and starts thinking exceptions are bad and forgoes them on the false altar of micro-optimization. Exceptions are incredibly powerful and should be used more not less. It should be a semi-rare occasion where an exception is thrown in any case, most commonly during development or caught in error reporting and bug report created and patched in the next release.