From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18007 invoked from network); 4 Aug 2023 19:21:05 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2023 19:21:05 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 5A24F42472; Sat, 5 Aug 2023 05:20:58 +1000 (AEST) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by minnie.tuhs.org (Postfix) with ESMTPS id C5CF24245E for ; Sat, 5 Aug 2023 05:20:45 +1000 (AEST) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-52327d63d7cso116489a12.1 for ; Fri, 04 Aug 2023 12:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691176843; x=1691781643; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=g+O4c7W0B3yHcXeU2FWguUvX7C71vzbKRY7WBawDX1g=; b=o+/FSt8md+JtkZhWorZf6eU1eECIiKIwXCGt50QtQIypkcQDP6UOcHtUc6HtBPzLE6 AxYE+EMYpVyixdaFe6XGd3K4+gKFDbjnhh5GHKnsBrc4/NsQfWQWk0HJuUOq+c/+vkaT MWT5HurZohZdtnLiZxYtbmjBKCCFqUnDNj/b6RSE2TnnO+lSslDSNqXGy0snOyMEal8I dOL4q+VN9LVWeKmI/pjgkUXJ9DsYnx7q24ZOZ1EF3oMCmZlB382IpNQs9NdcYyDloRun bozAd/T7PE5l/ljCQOllD/QN5PfkYOmg7H+eckN7JIboFMEG+WoRTnr4aKnSwISFTntw zFhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691176843; x=1691781643; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g+O4c7W0B3yHcXeU2FWguUvX7C71vzbKRY7WBawDX1g=; b=mBXmEzNLiIT8Q9ywSJuZaF0w+AeyRZ0Z2oQoVBsjjL99wF0dezQ0nTOHSqwTJdea9s Oyp1ZEv6apvB3/u1TTanLXEQ1DZHCzjtbceBxlS4K4FLfG2hf+6FMXQ8y0dnj61DS7xp iopJ7ONYFAPruKl7B9RQL7/b4648PBFwYMFl80caerdKXPtBOMAsQgR8//qPMYkLvDBf mwwYuZL08JqfM+w3fOiUABUJXrVT3FGGoFnxJPZwyJcx6kasDI+a9k6fKLg1Le5CnNQR +DFPcB6n3Q58mk5UefWCb9o0aJmglOQdTTE9GuSI+d1kIjBgXtrW9HbkUwh3U7q7EpNH lMVg== X-Gm-Message-State: AOJu0YzfnfSzzyYPzZPyRuUqzp2zobDyK3eorJ4IwrudeYeTorsbM4yC ywpA7rV2eL9zZQYVLYagQNTOJY+qcd3k05wh2NY= X-Google-Smtp-Source: AGHT+IH9tReSKyvIZ8wa+WDGZZgh8Cw0MccTbIetOyyCOop8ULMkATOlOFSx7QeRxCylCL8pJGd2NEg5eVLFZTI1Eyk= X-Received: by 2002:aa7:c98d:0:b0:51d:fa7c:c330 with SMTP id c13-20020aa7c98d000000b0051dfa7cc330mr2039106edt.26.1691176843259; Fri, 04 Aug 2023 12:20:43 -0700 (PDT) MIME-Version: 1.0 References: <8246.1690761540@cesium.clock.org> <29602.1690887524@cesium.clock.org> <20230803005106.GA12652@mcvoy.com> In-Reply-To: From: Ed Bradford Date: Fri, 4 Aug 2023 14:20:06 -0500 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="000000000000feb57f06021dcad0" Message-ID-Hash: 7KFIDXHODPBOLZEGSPWEB6SPEUQ77V24 X-Message-ID-Hash: 7KFIDXHODPBOLZEGSPWEB6SPEUQ77V24 X-MailFrom: egbegb2@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Grant Taylor , segaloco , tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: python List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000feb57f06021dcad0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To all: Python 3's fstrings https://realpython.com/python-f-strings/ seem to me to be a huge improvement over printf and its close relatives. What are people's views about the pro's and con's and how do print and strings compare in usability? Ed On Wed, Aug 2, 2023 at 9:07=E2=80=AFPM Clem Cole wrote: > IMO (Like Larry) no printf stinks. But the real killer for my sustain fo= r > Python is the use white space and being typeless. My daughter loves it > for her cloud development and we argue a bit. But it was the first > language she really mastered in college and she never took a competitive > languages course so I=E2=80=99m not so sure really had experienced much b= eyond it > for real programs. Maybe I=E2=80=99m just an old fart but between C, Go= and Rust > I=E2=80=99m pretty good. I do write scripts in Bourne shell and or awk t= ruth be > known. > > On Wed, Aug 2, 2023 at 8:51 PM Larry McVoy wrote: > >> On Wed, Aug 02, 2023 at 07:49:18PM -0400, Rich Salz wrote: >> > > [Python is] meant for mainly functional programming as I understand = it >> > >> > Not true. It has some neat functional features (list comprehensions) b= ut >> > that's not really its intent. >> >> I've really tried to like python but any language that doesn't has print= f >> as builtin is not for me. Yes, I know about their library printf but it >> is weird. >> -- >> --- >> Larry McVoy Retired to fishing >> http://www.mcvoy.com/lm/boat >> > -- > Sent from a handheld expect more typos than usual > --=20 Advice is judged by results, not by intentions. Cicero --000000000000feb57f06021dcad0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To all:

Python 3's fstrings
seem to me to be a huge improvement over printf
and its=C2= =A0close relatives.

What are people's views about the pro's = and con's and
how do print and strings compare in usability?

Ed=


On Wed, Aug 2, 2023 at 9:07=E2=80=AFPM Clem Cole <clemc@ccc.com> wrote:
IMO (Like Larry) no p= rintf stinks.=C2=A0 But the real killer for my sustain for Python is the us= e white space and being typeless. =C2=A0 My daughter loves it for her cloud= development and we argue a bit.=C2=A0 But it was the first language she re= ally mastered in college and she never took a competitive languages course = so I=E2=80=99m not so sure really had experienced much beyond it for real p= rograms. =C2=A0 Maybe I=E2=80=99m just an old fart but between C, Go and Ru= st I=E2=80=99m pretty good.=C2=A0 I do write scripts in Bourne shell and or= awk truth be known.=C2=A0

On Wed, Aug 2, 2023 at 8:51 PM Larry McVoy &= lt;lm@mcvoy.com> w= rote:
On Wed, Au= g 02, 2023 at 07:49:18PM -0400, Rich Salz wrote:
> > [Python is] meant for mainly functional programming as I understa= nd it
>
> Not true. It has some neat functional features (list comprehensions) b= ut
> that's not really its intent.

I've really tried to like python but any language that doesn't has = printf
as builtin is not for me.=C2=A0 Yes, I know about their library printf but = it
is weird.=C2=A0
--
---
Larry McVoy=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Retired to fishing=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.mcvoy.com/lm/boat
-- <= br>
Sent from a handheld expect m= ore typos than usual


--
Advice is judged by results, not by intentions.
=C2=A0 Ci= cero

--000000000000feb57f06021dcad0--