Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^6: Generate the perl sequence 1, 11, 111, ....

by ikegami (Pope)
on Oct 14, 2008 at 15:09 UTC ( #717006=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Generate the perl sequence 1, 11, 111, ....
in thread Generate the perl sequence 1, 11, 111, ....

I don't understand why that would be error-prone ?

Simply put, the more code you have, the higher the possibility of including an error.

Especially in this case, where there are many symbols packed into a small area and where there are many different common usage of the loop (start at zero, start at one, stop at X, stop before X, etc).

By making it easier to read, it can do nothing but help.


Comment on Re^6: Generate the perl sequence 1, 11, 111, ....
Re^7: Generate the perl sequence 1, 11, 111, ....
by matrixmadhan (Beadle) on Oct 14, 2008 at 15:39 UTC
    By making it easier to read, it can do nothing but help.

    Perfect. I agree. Many thanks for that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-08-27 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls