Why doesn’t C# have checked exceptions?
Checked exceptions are a very hotly debated topic in some circles, particularly for experienced Java developers moving to, or additionally learning, C#. Here are some resources that discuss the issue in depth:
- The Trouble With Checked Exceptions (Anders Hejlsberg, Bruce Eckel, Bill Venners)
- Does Java Need Checked Exceptions? (Bruce Eckel)
- Why doesn’t C# have exception specifications? (Anson Horton)
Note that without the CLR itself supporting checked exceptions, it would be effectively impossible for C# to do so alone.
[Author: Jon Skeet]