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 8188 invoked from network); 3 Aug 2023 23:54:45 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 3 Aug 2023 23:54:45 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 44C3041BAC; Fri, 4 Aug 2023 09:54:42 +1000 (AEST) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by minnie.tuhs.org (Postfix) with ESMTPS id 6CE4B41BA7 for ; Fri, 4 Aug 2023 09:54:36 +1000 (AEST) Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d299ed34bacso3840022276.1 for ; Thu, 03 Aug 2023 16:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691106875; x=1691711675; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=W80P/cGmQEq1f7XjIZyd8x8N814nw2dUXA6lNIOdgM4=; b=lojKHxEp7AyaT8ohhMAoaspqlfsGzdnus8kB6BTNNnEWvf135D6pYRTJzk8Y+9PLSP Bo1aG0jJl2fk0uwQhU/yJR8jkkUZrhZjIPBmxtNbpRya9x51Hykkmeps85+9SPmuahMn E3ILNRNjC6hqvKtbEKI5Fg3cCXmPpJf/2oIyhQfFpIhn9QniX4Gdu9NTg4x3kIAm1WDx T3moEE5IR7KBzZHCGJ3m9jk5b42MLSbCnuR8dHCM8PH8BTv7jNmYuKRqTSNh+5AKDTaM WKi0tpDzMEnA3FWgAvEG9QbiVUn1l0u+6TU67E1wu77P1GJVCKxSCYzSsAvPdpBDmurA bacg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691106875; x=1691711675; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=W80P/cGmQEq1f7XjIZyd8x8N814nw2dUXA6lNIOdgM4=; b=RNI8fIDBAbTgxbRyapbOCp3jDLUdzNLFVKoWcvUpfvxGIFLzPnadieVzxQEqWjXU6H Ah/uIzu8ulDTXATyZ/srxNv63VgWuL+c58+afEzOPalIuIXyBojGtD4oaiOT9Nv8bSO2 yzqTYhUblLJLa8X/6uziCjOR3MyjFHcC7rNRys9Ujn2dj5ZvaWC6AXJIq6pm5tgFjEGp 84z08D3j6HoOh2PlbCPkVmaxI53Pb/lDXKal3qWqJMrNNxF/cO+x2ZZed/IKaqqYRKg6 8MiJeBthDzDFf5SraRpBAUykxuMTVB9ca1I2PaDyUomtk974DFTQSrGXVR0Q7gNLwaP4 0MGg== X-Gm-Message-State: AOJu0YygeTxQynfjb3SweiSk84d/Pn0KJUZ9H5u+dMdpS8GrTG40soTn 0WVNLHpEC/7L6Ri2tkmahjKpLuWFzNc= X-Google-Smtp-Source: AGHT+IEGx/3hhjp5G3kDRxjpteZUj+h2h8BnxZ1rQG2IEubdB4ByKzzqJXeoKOafXabzGSMnKz3I4A== X-Received: by 2002:a25:69c7:0:b0:d07:ae80:b4be with SMTP id e190-20020a2569c7000000b00d07ae80b4bemr267797ybc.7.1691106875269; Thu, 03 Aug 2023 16:54:35 -0700 (PDT) Received: from ?IPV6:2601:245:4680:1950:d29f:ed07:7b5d:4b73? ([2601:245:4680:1950:d29f:ed07:7b5d:4b73]) by smtp.gmail.com with ESMTPSA id t4-20020a056902018400b00d20d4ffbbdbsm265961ybh.0.2023.08.03.16.54.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Aug 2023 16:54:34 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------gV4T2SqXwWbKSWGhx6w8Hcby" Message-ID: Date: Thu, 3 Aug 2023 18:54:33 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Larry McVoy , Phil Budne References: <8246.1690761540@cesium.clock.org> <29602.1690887524@cesium.clock.org> <20230803005106.GA12652@mcvoy.com> <202308031657.373GvVvW008640@ultimate.com> <20230803234702.GC11023@mcvoy.com> From: Will Senn In-Reply-To: <20230803234702.GC11023@mcvoy.com> Message-ID-Hash: JF4W7D3EIT2FVJJOKQHKGEKDT4VSNXFQ X-Message-ID-Hash: JF4W7D3EIT2FVJJOKQHKGEKDT4VSNXFQ X-MailFrom: will.senn@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: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: [TULSA] Re: python List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is a multi-part message in MIME format. --------------gV4T2SqXwWbKSWGhx6w8Hcby Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/3/23 18:47, Larry McVoy wrote: > On Thu, Aug 03, 2023 at 12:57:31PM -0400, Phil Budne wrote: >> On the subject of "no printf", there is not one, not two, but THREE >> ways to format strings, easily compounded with print: >> >> print("%s %s" % ("hello", "world")) >> print("{1} {two}".format("hello", two="world")) >> print(f"{greeting} {populace}") >> >> I'm pretty sure the last method (which initially made me vomit, due to > All of those make me vomit. Pretty much every sane language has printf. Tell us how you really feel :). But, I couldn't agree more. I worked really hard to get printf and sprintf down and then folks started doing it "right" and "better" or renaming it but watering it down - ugh! I say, we picket. --------------gV4T2SqXwWbKSWGhx6w8Hcby Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 8/3/23 18:47, Larry McVoy wrote:
On Thu, Aug 03, 2023 at 12:57:31PM -0400, Phil Budne wrote:
On the subject of "no printf", there is not one, not two, but THREE
ways to format strings, easily compounded with print:

	print("%s %s" % ("hello", "world"))
	print("{1} {two}".format("hello", two="world"))
	print(f"{greeting} {populace}")

I'm pretty sure the last method (which initially made me vomit, due to
All of those make me vomit.  Pretty much every sane language has printf.
Tell us how you really feel :). But, I couldn't agree more. I worked really hard to get printf and sprintf down and then folks started doing it "right" and "better" or renaming it but watering it down - ugh! I say, we picket.
--------------gV4T2SqXwWbKSWGhx6w8Hcby--