Re:You’re better off using Exceptions
by mratsim on Monday February 03, 2020 @11:59AM
(#22226078)
For me exceptions are for exceptional cases.
Any time you have user input, you can expect errors and so should have proper paths to handle file not found, invalid input, ... For those case, exceptions should not be used.
Any time you have user input, you can expect errors and so should have proper paths to handle file not found, invalid input, ... For those case, exceptions should not be used.