|
Re: distinguishing between failures and errors: msg#00130java.junit.user
> J. B. Rainsberger wrote: > > >What fear are you addressing by using checked exceptions? Since it is > >possible to get along without them, you may be afraid of something in order > >to want to use them. What might that be? (Please help me; I sound like Ron.) > > The fear that the next person to look at my code won't know what > application-level exceptions can possibly be raised. Understood. > I can mitigate that fear by writing tests that demonstrate which > exceptions can be raised and under what circumstances that can happen. Worth the effort. > I can eliminate that fear using checked exceptions. But at what cost! :) You become bound by the shackles of annoying impediments to refactoring! No, say I! Let all my code be easily-refactorable! At least, that's what I try for. -- J. B. Rainsberger, President, Diaspar Software Services Let's write software that people understand. http://www.diasparsoftware.com/ telephone: +1 416 791-8603
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: distinguishing between failures and errors, neil_swingler |
|---|---|
| Next by Date: | Re: distinguishing between failures and errors, Mike Clark |
| Previous by Thread: | Re: distinguishing between failures and errors, Mike Clark |
| Next by Thread: | Re: distinguishing between failures and errors, Mike Clark |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |