Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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]
[LanX]: every path must have l left and r right edges and l and r are fixed and l+r is the height
[LanX]: simple recursive function which goes left and right till l or r are exhausted
LanX #solved
[oiskuu]: I must watch Police Academy again sometime.
[Discipulus]: thanks all
[LanX]: ?

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-03-19 11:26 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.