Friday, June 1, 2007

The Trouble with Checked Exceptions

Anders Hejlsberg:

Frankly, they look really great up front, and there’s nothing wrong with the idea. I completely agree that checked exceptions are a wonderful feature. It’s just that particular implementations can be problematic. By implementing checked exceptions the way it’s done in Java, for example, I think you just take one set of problems and trade them for another set of problems. In the end it’s not clear to me that you actually make life any easier. You just make it different.

Comments RSS · Twitter

Leave a Comment