Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^5: next in continue doesn't DWIM

by Eily (Curate)
on Nov 21, 2013 at 10:42 UTC ( #1063713=note: print w/ replies, xml ) Need Help??

in reply to Re^4: next in continue doesn't DWIM
in thread next in continue doesn't DWIM

In the end I still do agree with you, I expect the examples I gave not to be first shots, but modification of already complex code where it was easier to add one line in the continue block than one if in the loop body and finding where to put the braces. And when you have to explain how risky changes are to a colleague or customer that doesn't understand much about coding, showing that you added one line in a tiny block instead of a few characters in several places of a long mess might be easier. My point is that this feature might be used all over the place.

Comment on Re^5: next in continue doesn't DWIM

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-10-06 19:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (159 votes), past polls