Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: ted@loft.tnolan.com (Ted Nolan ) Newsgroups: comp.os.linux.misc,alt.folklore.computers,comp.lang.python Subject: Re: Python Date: 4 Mar 2026 20:01:16 GMT Organization: loft Lines: 33 Message-ID: References: <10i13o0$c16d$1@dont-email.me> <10o9mre$327a7$3@dont-email.me> X-Trace: individual.net 00pWqQLlW7Fzb2KvPWl1zg8xGTaGo5hRo/dKNOY/lPg/Ng3XB2 X-Orig-Path: not-for-mail Cancel-Lock: sha1:nzxafvQH2SvgdKqCuVCvf/yj8MM= sha256:01Zzryk43EJH3LpL+bvyYjsiLbtnHXZiFC8rixu1m1E= X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: csiph.com comp.os.linux.misc:82390 alt.folklore.computers:234040 comp.lang.python:197669 In article <10o9mre$327a7$3@dont-email.me>, Michael F. Stemper wrote: >On 18/12/2025 12.00, Richard Kettlewell wrote: >> Peter Flass writes: >>> I comment *A LOT*. When I had to go back and revisit some very old >>> code, I wished I had commented more. I've almost never looked at a >>> program and said "I wish it had fewer comments." >> >> Regrettably, I’ve encountered plenty of comments that don’t actually >> reflect the code (for a variety of reasons). >> >> If the code is wrong and the comment is right then that’s great, you >> have a nice hint about how to fix the code, assuming you realize there’s >> a problem at all. >> >> However if the code is right but the comment is wrong then the comment >> is worse than nothing. The code would be improved by removing it >> (although almost certainly improved even more by correcting it). > >I encountered a perverse version of that. My (US) employer was purchased >by a German firm. We began adapting their code base for NAFTA market >requirements. The good news was that every comment was written twice: >once in German and once in English. > >The bad news? I knew enough German to be able to tell that the two paired >comments sometimes disagreed on what was being done or how it was done. > A man with one clock knows what time it is. A man with two is never quite sure... -- columbiaclosings.com What's not in Columbia anymore..