[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] [PATCH v2 4/5] distutils-r1.eclass: wire up meson-python to meson.eclass
From: Eli Schwartz <eschwartz93 () gmail ! com>
Date: 2024-02-20 20:45:42
Message-ID: 20f85a7f-eda6-43c5-9b51-61ddbb7e5d9f () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
[Attachment #4 (multipart/mixed)]
On 2/20/24 1:55 AM, Michał Górny wrote:
>> +if [[ ${DISTUTILS_USE_PEP517} = meson-python ]]; then
>
> We use '==' throughout.
I'm sorry to hear that. Would you like a patch to remove it everywhere
else? :)
Shell is a complex language to get consistently right already. The
double equals is almost-offensively redundant and pointless -- its
implementation is to be an exact alias for a single equals.
It causes muscle memory to be more likely to accidentally use this
bashism in #!/bin/sh scripts, it provides zero benefit, and the cherry
on top is that it takes up possibly-valuable real estate from your
screen width and causes (uncompressed) scripts to be (trivially) larger.
I wish Chet would repent of having added it and make bash issue a
bash-level warning on stderr if it encounters one in your scripts.
--
Eli Schwartz
["OpenPGP_0x84818A6819AF4A9B.asc" (application/pgp-keys)]
["OpenPGP_signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic