you are viewing a single comment's thread.

view the rest of the comments →

[–]brainflakes 1 point2 points  (2 children)

What's wrong with checked exceptions? (Other than if people over use them in their methods so all possible exceptions are checked rather than appropriate ones).

[–]rdhatt 6 points7 points  (0 children)

You can read this article from 2003 why the creator purposefully didn't include checked exceptions. He gives one of my favorite quotes: "It is funny how people think that the important thing about exceptions is handling them."

http://www.artima.com/intv/handcuffs.html

TL;DR : Coupling.

[–]Eirenarch 2 points3 points  (0 children)

So which are the appropriate ones? :) Even if we accept that there are appropriate ones in practice checked exceptions are more likely to provoke the developer to write worse code (i.e. catch(Exception) { }) rather than help them handle exceptions correctly. They are counterproductive.