Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^5: next in continue doesn't DWIM

by Eily (Prior)
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.

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 taking refuge in the Monastery: (5)
As of 2018-10-24 05:54 GMT
Find Nodes?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...

    Results (127 votes). Check out past polls.