On Wed, 23 Aug 2017, Tom wrote:

Yes, Perl is fun:
* I do not recognize any Perl code I wrote more than about year ago
  - despite all the evidence at hand

Having been down that particular road too often, I now try Really Hard to write comments before coding. I fail at this frequently, but I'm always delighted when I succeed. I maintain a Perl script that analyzes my current portfolio, with data held in a YAML file, and my last couple editing sessions have been very smooth thanks to that approach.

Also, some great advice I once read about commenting: Document the data, not the process, unless the latter is very obscure or ungoogleable.

--
Paul Heinlein
[email protected]
45°38' N, 122°6' W
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to