|
Using exceptions (Re: distinguishing between failures and errors): msg#00135java.junit.user
> J. B. Rainsberger wrote: > > >>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. > > > > I haven't found checked exceptions to be impediments to refactoring. > Then again, I don't throw exceptions all that often. I am trying to do it less, myself, in order to verify for myself that that is the root problem. > I can certainly appreciate how they might become annoying in the > face of change. I try not to get to that point. I need to overhaul my thinking on how to use exceptions. I have to take the stuff I read on Ward's Wiki and put it to use somewhere. Perhaps this summer, while I'm sharpening the saw and waiting for the next contract. -- 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: | OT: Bad examples everywhere (Was: distinguishing between failures and errors), Mathieu Gervais |
|---|---|
| Next by Date: | Re: OT: Bad examples everywhere (Was: distinguishing between failures and errors), Eric Heikkila |
| 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 |