|
|
|
|
|
by breadwinner
396 days ago
|
|
> I'm not sure what you found in (checked) exceptions. I could copy/paste the entire article here... but it would be easier if you could take a gander: https://mckoder.medium.com/the-achilles-heel-of-c-why-its-ex... Summary: Crashy code: You have no compiler-enforced way to know what exceptions might be thrown from a method or library. More crashy code: If a method starts throwing a new exception, you might not realize you need to update your error handling. Dead code: If a method stops throwing an exception, old catch blocks may linger, becoming dead code. |
|