Road to better programming: Chapter 2. Commenting your code
Commenting the final stages of the program
In many ways, the end of the program is the most boring. The work has been done, the data structures have gone to sleep (there is no memory deallocation that you need to worry about in Perl), and now the end is just a few lines away. Don't let this fool you -- the finishing lines of a program can be just as perilous as the rest. Comment the most trivial lines here because the first thing a debugging programmer does is look at the program's exit behavior.
Listing 11
|
View Road to better programming: Chapter 2. Commenting your code Discussion
Page: 1 2 3 4 5 6 7 8 Next Page: Writing POD documentation and help for the programFirst published by IBM developerWorks