On Mon, 9 Apr 2001, Jeffrey S. Sharp wrote:
> Ok, I'm game! Gotos are not inherently harmful. They are a tool, and
> as such, can be used for both good and evil. In fact, I've written code
> using gotos that is downright elegant.
>
> And if that didn't do it, how about this: I haven't decided yet
> whether total OO is a Good Thing or not. Someone set me straight!
What's uglier: a single "goto", or a dozen nested "if" statements, to trap
error conditions?
I managed to eliminate useage of gotos long ago in my code, and come up
with a fairly elegant error handling system using nested if's. But I'm
still waiting for a good, solid, error handling system (try/catch is not
it).
Sellam Ismail Vintage Computer Festival
------------------------------------------------------------------------------
International Man of Intrigue and Danger
http://www.vintage.org
Received on Mon Apr 09 2001 - 12:16:29 BST