Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: (jeffa) 2Re: (Ovid - Why I love nested If-Else blocks)

by Sweeper (Pilgrim)
on Jan 04, 2002 at 11:43 UTC ( #136230=note: print w/replies, xml ) Need Help??

in reply to (jeffa) 2Re: (Ovid - Why I love nested If-Else blocks)
in thread Why I Hate Nested If-Else blocks

Did i just use a goto?!?

Well, if you think using a goto is more readable than using another construct, then use it. I have seen code that were emulating goto's, and which were worse, much worse than the same code written with goto's.

I have read somewhere that there was Dijkstra's paper goto considered harmful, ( and then somebody answered with another paper "goto considered harmful" considered harmful. Unfortunately, I have not been able to find it.

  • Comment on Re: (jeffa) 2Re: (Ovid - Why I love nested If-Else blocks)

Replies are listed 'Best First'.
Re (tilly) 4: (Ovid - Why I love nested If-Else blocks)
by tilly (Archbishop) on Jan 07, 2002 at 17:50 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2016-10-25 15:28 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (323 votes). Check out past polls.