Re:Errors and Exceptions
by dllthomas on Friday August 21, 2015 @12:15PM
(#10098467)
"you are checking if HR is FILE_NOT_FOUND or FILE_NOT_ACCESSIBLE but suddenly the author changed the name into FOOFILE_NOT_FOUND and now you wind up changing a hundred places in your source code"
Not weighing in on the broader discussion (in this comment), but more languages support exhaustiveness checking of case statements than of exceptions.
Not weighing in on the broader discussion (in this comment), but more languages support exhaustiveness checking of case statements than of exceptions.