2 ms·
They intentionally chose to not have checked exceptions though, and people have different opinions on it. They believed that people would just catch Exception m
by easton 1y ago
They intentionally chose to not have checked exceptions though, and people have different opinions on it. They believed that people would just catch Exception most of the time anyway instead of selecting on a very specific type (which is often how it works, in web apps anyway.)
https://www.artima.com/articles/the-trouble-with-checked-exceptions https://www.artima.com/articles/the-trouble-with-checked-exc...
- breadwinner 1y ago> They believed that people would just catch Exception most of the time anyway Their belief was wrong. Microsoft now recommends against catching Exception. The article you linked to is addressed at the bottom of this article: https://mckoder.medium.com/the-achilles-heel-of-c-why-its-exception-handling-falls-short-f7f932488aba https://mckoder.medium.com/the-achilles-heel-of-c-why-its-ex...