▲ | p_ing 7 hours ago | ||||||||||||||||
"Incorrect" okay, based on a brand-new-to-C# developer's experience. Sure. "The Trouble with Checked Exceptions" - https://www.artima.com/articles/the-trouble-with-checked-exc... | |||||||||||||||||
▲ | Cpoll 7 hours ago | parent | next [-] | ||||||||||||||||
In the linked article, Hejlsberg considers adding a new checked exception a breaking change (true), but adding a new thrown exception to not be, because "in a lot of cases, people don't care." I think this is obviously open to debate. You're conflating "incorrect" with "mistake," no one is saying the C# team forgot to add checked exceptions. | |||||||||||||||||
▲ | breadwinner 6 hours ago | parent | prev [-] | ||||||||||||||||
I have a lot of respect for Anders Hejlsberg. But that doesn't mean he is never wrong. Hejlsberg doesn't think anyone would want to recover from exceptions. "There's a bottom level exception handler around their message loop. That handler is just going to bring up a dialog that says what went wrong and continue." Okaayyy... I think we know a bit more about exception handling than that today! Real-world applications often need more sophisticated exception handling strategies. | |||||||||||||||||
|