Java introduced Checked Exceptions in 1995 and no other language has copied it that I'm aware of. Why?
what do you think of the "ignores" idea Renier suggested: "public String readWordList() ignores IOException" ? 2011/3/27 Cédric Beust ♔ <[email protected]> > > > On Sun, Mar 27, 2011 at 10:37 AM, Josh Berry <[email protected]> wrote: > >> The problem is framed in such a way that you think you can prevent >> programmers from doing stupid things with checked exceptions. I'm >> more interested in designs that promote productive ideas than I am >> ones that supposedly protect from bad ones. >> > > Phrasing these two things as mutually exclusive sounds fallacious to me. > > You enjoy functionalities that protect you from bad things on a regular > basis in Java, to the point that you probably don't even remember they're > there (no pointer arithmetics, bound checking, garbage collection, etc...). > > A good language will strive to provide support in both directions: > promoting good practices while protecting developers from mistakes that can > be easily detected or (even avoided altogether) by tools. > > -- > Cédric > > > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
