Perl: the Markov chain saw | |
PerlMonks |
Re: Number of times I've used goto in Perlby LanX (Saint) |
on May 06, 2018 at 21:57 UTC ( [id://1214128]=note: print w/replies, xml ) | Need Help?? |
Many times! Most languages are full of "gotos", they are just hidden behind other expressions like break or throw (yes exceptions are gotos, think about it) The fact that most useful cases of flow control can be solved without goto doesn't mean all useful cases are covered. It's like not giving heroine to a terminal cancer patient, because he could get addicted. Don't let religion rule over logic. Even if prophets like Wirth and Dijkstra preached against it.
Cheers Rolf
In Section
Past Polls
|
|