Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!mips!twg.com!dwh From: dwh@twg.com (Dave W. Hamaker) Newsgroups: comp.misc Subject: Re: MEL - A *Real* Programmer Keywords: Real Programmer, Hacker Message-ID: <8227@gollum.twg.com> Date: 6 Nov 90 04:58:07 GMT References: <1990Oct23.235720.16178@nas.nasa.gov> <6089@nisca.ircc.ohio-state.edu> <54296@brunix.UUCP> <5777@suned1.Nswses.Navy.MIL> <8187@gollum.twg.com> <1283@gvgspd.GVG.TEK.COM> Distribution: usa Organization: The Wollongong Group, Palo Alto, CA Lines: 19 mrk@gvgspd.GVG.TEK.COM (Michael R. Kesti) writes: >In article <8187@gollum.twg.com> dwh@twg.com (Dave W. Hamaker) writes: >>It has been my experience, on code I don't have to worry about others having >>to maintain, that documenting each program... >How can you ever be certain that nobody other than yourself will have to >maintain your programs? I feel that one should try to code as if one >might get run over by a truck on the way home tonight! Programs I write on my own time for my own use are subject to my own whims. Of course, I don't give code like that away without either warning the recipient or enhancing the documentation. >Just to add fuel to the fire, I think that using "i" (or any other single >letter name" for a variable is horrible practice. Try searching for all >occasions of it in a function! grep '[^_a-z]i[^_a-z]' prog.c