Re: Python
c186282 <[email protected]> Wed, 17 Dec 2025 23:02:24 -0500
| Newsgroups | comp.os.linux.misc,alt.folklore.computers,comp.lang.python |
|---|---|
| Organization | wokiesux |
| Message-ID | <[email protected]> |
On 12/17/25 22:28, John Levine wrote: > According to c186282 <[email protected]>: >> Well ... I'll better understand, and be able to mod, my >> old programs better than you. I find 'excessive' commenting >> anything BUT 'excessive'. I *enjoy* writing out the meaning >> and implications of almost every step. > > That's fine as long as it's done with adequate discipline > > i += 2; /* add one more bloofus to i */ Gotta add a couple of words explaining the *context* - WHY you are incrementing the var by 2, not one or three. Did a recent little app where you needed to inc by two ... and the comment explained why. Oh, I usually write "i=i+2". It's a bit more clear and becomes the same code anyway. += is more a 'C' thing.