develooper Front page | perl.perl5.porters | Postings from March 2023

Re: Proposal: Standardize to one space after full stops indocumentation, pod, comments, etc.

Thread Previous | Thread Next
From:
Damian Conway
Date:
March 16, 2023 22:47
Subject:
Re: Proposal: Standardize to one space after full stops indocumentation, pod, comments, etc.
Message ID:
CAATtAp4b9cqruebnfPm69huxNEhJwP3KFL-6OF9n-5KibNNNsw@mail.gmail.com
I too strongly favour adopting consistent single spaces after full stops.

Despite also having been taught double-spacing, way back in my Early
Jurassic schooldays,
I never double-space my own text or comments, and I have no plans to ever
offer a
double-spacing option in Text::Autoformat (because of the near-endless
supply of
false-positive edge-cases that Yves has already mentioned).

Although, just out of interest, I gave the following made-up Perl comment
to ChatGPT 3.5:

    # Don't try this at home, kids! We need these etc. so we can pretend
that they
    # are built-in constructs. It's very cheeky (like Dr. Who) to be
messing with builtin pragmas,
    # but these intrusions et al. are careful not to hook any existing
behaviour. They only
    # add simulations of the proposed new behaviour. I judge that to be
marginally
    # more acceptable. Especially if they are invoked only explicitly, by
loading this module.

I then asked it to double-space between sentences . It returned the
following (which it got 100% right):

    # Don't try this at home, kids!  We need these etc. so we can pretend
that they
    # are built-in constructs.  It's very cheeky (like Dr. Who) to be
messing with builtin pragmas,
    # but these intrusions et al. are careful not to hook any existing
behaviour.  They only
    # add simulations of the proposed new behaviour.  I judge that to be
marginally
    # more acceptable.  Especially if they are invoked only explicitly, by
loading this module.

So I guess, once we upgrade Text::Autoformat to a 175-billion-parameter
large language model,
Yves won't have a problem any more.

Till then, however, I support this proposed change.

Damian

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About