Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #82390

Re: Python

From ted@loft.tnolan.com (Ted Nolan <tednolan>)
Newsgroups comp.os.linux.misc, alt.folklore.computers, comp.lang.python
Subject Re: Python
Date 2026-03-04 20:01 +0000
Organization loft
Message-ID <n0rhccF3ue1U1@mid.individual.net> (permalink)
References <CtydnVqzjrtfd5P0nZ2dnZfqn_adnZ2d@giganews.com> <10i13o0$c16d$1@dont-email.me> <wwvike3r7oy.fsf@LkoBDZeT.terraraq.uk> <10o9mre$327a7$3@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


In article <10o9mre$327a7$3@dont-email.me>,
Michael F. Stemper <michael.stemper@gmail.com> wrote:
>On 18/12/2025 12.00, Richard Kettlewell wrote:
>> Peter Flass <Peter@Iron-Spring.com> 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..

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Python "Michael F. Stemper" <michael.stemper@gmail.com> - 2026-03-04 10:32 -0600
  Re: Python ted@loft.tnolan.com (Ted Nolan <tednolan>) - 2026-03-04 20:01 +0000
    Re: Python "Carlos E.R." <robin_listas@es.invalid> - 2026-03-04 21:29 +0100
      Re: Python Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-04 20:37 +0000
      Re: Python Peter Flass <Peter@Iron-Spring.com> - 2026-03-04 14:09 -0700
        Re: Python Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-04 22:35 +0000
          Re: Python Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-04 23:10 +0000
          Re: Python c186282 <c186282@nnada.net> - 2026-03-04 20:30 -0500
          Re: Python Peter Flass <Peter@Iron-Spring.com> - 2026-03-04 20:13 -0700
            Re: Python Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-05 03:49 +0000
            Re: Python Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-03-05 17:42 +0000
              Re: Python "Carlos E.R." <robin_listas@es.invalid> - 2026-03-05 20:02 +0100
                Re: Python c186282 <c186282@nnada.net> - 2026-03-05 14:42 -0500
                Re: Python Nuno Silva <nunojsilva@invalid.invalid> - 2026-03-06 00:12 +0000
                Re: Python Bob Eager <news0009@eager.cx> - 2026-03-06 09:02 +0000
        Re: Python Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-03-05 02:44 +0000
          Re: Python Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-05 03:50 +0000
      Re: Python Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2026-03-04 22:14 +0100
        Re: Python The Natural Philosopher <tnp@invalid.invalid> - 2026-03-04 22:20 +0000

csiph-web