Monday, January 7, 2008

More on checked exceptions

I asked a couple of posts back if I was the only one missing Java's checked exception feature. I decided to read up on the subject, as to why it wasn't included in C# for example (since it was once pretty much a rip-off of Java). I found this interview with Anders Hejlsberg (the father of C#), which gives some good insight as to what's wrong with checked exceptions.

Still I very much like the feature and dislike lazy programmers who makes it a pointless feature. But I think Anders is right, it was a great idea but it just didn't work out in practice.

No comments:

Post a Comment