3 ms·
I think for new code Exceptions are the preferred solution in case your code errors out , much more clear to return just one type of data. So this seems to be j
by simion314 5y ago
I think for new code Exceptions are the preferred solution in case your code errors out , much more clear to return just one type of data. So this seems to be just a solution for improving type declaration for older code that that use the pattern to return false in case of error instead of an exception with a much more clear information on what went wrong.