|
|
|
|
|
by simiones
1952 days ago
|
|
You have the same problem with error codes, don't you? The bigger difference is knowing whether you should expect errors at all - with exceptions, you can forget to handle an error and you may screw up an important assumption, like not unlocking a Mutex if an Exception is raised. With error codes, you have the opposite problem: you may forget to check for an error, and continue to execute in a bad state. |
|