in reply to proof that perl is poetry (?)
There is a metric buttload of books written on software maintenance. One example I saw regarding commenting code and using terse variable names was along the lines of(pseudocode)
versusF_CNT=F_CNT+1; # Select the next flight
The first one requires at least ten more keypresses.FLIGHTCOUNTER=FLIGHTCOUNTER+1
So, in Perl, you have to comment. But I suggest thatyou keep the comments in the beginning of the script(s) and/or in the beginning of a function call or sub, kind of like in """that snake language""" or in /** JavaDoc */. Better than intermingled everywhere.
Makes Perl a pleasure to read, as always...
|
|---|