Casper Bang wrote: > Exactly, which makes checked exceptions a versionability problem. When > is the last time you wrote something and got it right the first time? > > I strongly disagree :-) and agree with people expressing their appreciation for checked expression, only criticizing the way they were implemented. Everything depends on the way exceptions are used. Checked exceptions are a valuable tool to fully describe the semantics of a method. That is, they are part of the possible outcome of the method. If you add a checked exception to the innermost method, I find it a feature (ditto... ;-) the fact that you are forced to change all the callers, since you *have* to take into account the new method outcome. It's basically a form of declaring postconditions - or, better, one of the possible postconditions.
For this reason, I consider checked exceptions one of the good features of the Java language and a serious missing feature of other languages. -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog [email protected] - mobile: +39 348.150.6941 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
