Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Re: Re: Re: (tye)Re: GOTO considered (a necessary) evil?

by Anonymous Monk
on Jul 16, 2002 at 11:11 UTC ( #182038=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: (tye)Re: GOTO considered (a necessary) evil?
in thread GOTO considered (a necessary) evil?

I didn't misunderstand. I was just not clear enough.

I meant that to be a resource you can use in discussions with people whose understanding of structured programming is more religious than practical.

As for goto, very few are "necessary", and experience says that so-called necessary gotos generally have a better replacement. Furthermore the ability to combine loop control and named loops removes the vast majority of goto statements - including every one that Knuth pointed to in his rebuttal as being useful for algorithmic efficiency. So while I might agree that necessary gotos are OK, I likely mean something different by that than you do.

  • Comment on Re: Re: Re: Re: (tye)Re: GOTO considered (a necessary) evil?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://182038]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-10-22 18:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (297 votes). Check out past polls.