in reply to Re: Documenting Methods/Subs
in thread Documenting Methods/Subs
When what they meant was:my $a = $b - $c;
Then a usual response would be 'go away and write it so you understand it yourself in a years time, and then ask me again when it doesn't work'.my $totaltime = $endtime - $starttime;
I agree completely about the data structures, the more so in perl where you can make hashes of arrays of hashes etc. I have some lovely ones which I wouldn't understand myself any more without the comments.
C.
*trying to maintain some code with 8-char indents, but thankfully sensible variable names and comments all over the place!*
|
---|