Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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, (http://www.acm.org/classics/oct95/) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2015-07-07 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls