Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Increment by 2 and by 1 in same loop.

by sundialsvc4 (Abbot)
on Apr 16, 2013 at 11:17 UTC ( #1028876=note: print w/replies, xml ) Need Help??


in reply to Re: Increment by 2 and by 1 in same loop.
in thread Increment by 2 and by 1 in same loop.

Definitely.

Don’t make it clever .. always make it clear.   The odds are always good that someone (else) will come behind you and have to modify that piece of code.   Make it obvious what the code does, and easy to change it.

  • Comment on Re^2: Increment by 2 and by 1 in same loop.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028876]
help
Chatterbox?
and the radiator hisses contentedly...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2017-12-13 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (381 votes). Check out past polls.

    Notices?