On Aug 22, 7:23 am, Peter Becker <[email protected]> wrote: > While I'm still arguing for checked exceptions, I'm not 100% convinced > their good yet either. But nearly every argument I see why they are bad > is about how they are used badly, with the conclusion of some intrinsic > badness.
I agree with you. - But since (at least my opinion) exceptions are either used badly in some of the core Java APIs from Sun the question is really, how to get people - especially beginners - to understand how they are used correctly. > Martin's recent argument about the confusing flow wasn't too bad, but > interestingly applies to all exceptions, not just the checked flavor. Oh yes, this applies even to the unchecked exceptions. What I like with the checked exceptions is that I can't forget that I have to decide what to do with them - for return codes I could forget to handle them (even if an experienced developer - especially an experienced Windows API or C++ programmer should not have a problem with this ;-) ). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
