Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[1nickt]: Sorry kgb can't help there, not a perltidy user.
[marto]: evening all

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2017-11-18 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?