Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Program Comments

by apl (Monsignor)
on Mar 21, 2010 at 15:26 UTC ( #829957=note: print w/replies, xml ) Need Help??


in reply to Program Comments

Don't include comments (like #prints the initial value of $count before the while loop started at line 76) that refer to specific line numbers. Your program will change, and line numbers will almost certainly change. If it's important to keep track of a specific line, I suggest you use a label and refer to that.

Before worrying about comments, though, I'd improve the formatting of the code...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://829957]
help
Chatterbox?
[erix]: Lyon to Bari: 1200 km
[Eily]: sorry, got interrupted
[Eily]: so he left from Nancy

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




















    Results (369 votes). Check out past polls.

    Notices?