Linked by Thom Holwerda on Mon 3rd Sep 2012 20:46 UTC, submitted by MOS6510
Thread beginning with comment 533771
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[5]: Comment by Soulbender
by kwan_e on Tue 4th Sep 2012 08:14
in reply to "RE[4]: Comment by Soulbender"
"try/catch/finally does it by default
Try/catch does not automatically create spaghetti code any more than return values and message structures. "
Most try/catch (in Java especially) are for exceptions that normally people don't care enough about anyway, and so they catch them where needed and ignore.
So in terms of ignoring errors, they're not different. I'd prefer exceptions though if I do want to handle errors.
RE[6]: Comment by Soulbender
by JAlexoid on Tue 4th Sep 2012 13:29
in reply to "RE[5]: Comment by Soulbender"




Member since:
2005-08-18
Try/catch does not automatically create spaghetti code any more than return values and message structures.