Linked by Thom Holwerda on Mon 3rd Sep 2012 20:46 UTC, submitted by MOS6510
General Development I like this one: "By definition, a program is an entity that is run by the computer. It talks directly to the CPU and the OS. Code that does not talk directly to the CPU and the OS, but is instead run by some other program that does talk directly to the CPU and the OS, is not a program; it's a script." Here's the other eleven.
Permalink for comment 533773
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 UTC in reply to "RE[4]: Comment by Soulbender"
Member since:

"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.

Reply Parent Score: 3