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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21175 invoked from network); 6 Jul 2021 04:37:03 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 6 Jul 2021 04:37:03 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id C39839CA60; Tue, 6 Jul 2021 14:36:57 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 47E079C9F2; Tue, 6 Jul 2021 14:35:48 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fB6jjU+5"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id DEE139C9F2; Tue, 6 Jul 2021 14:35:45 +1000 (AEST) Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by minnie.tuhs.org (Postfix) with ESMTPS id 65C069C9F0 for ; Tue, 6 Jul 2021 14:35:44 +1000 (AEST) Received: by mail-vs1-f53.google.com with SMTP id h18so7320622vsj.2 for ; Mon, 05 Jul 2021 21:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RidVVVjJ9Fs/X98lUBILSSxVcFYjM96HM+GK6KO0yUM=; b=fB6jjU+5bzsIKWFiIx7b4s+R6RomlfC5Vsk5EelnkA3YkQdHlykhw6w5D8db6iQ9Iz zfKWz6+oMMF5eoUGzT+Il0kvrG+mMxsv+PpxgmSR6RJ+v59WwP4pDHX+qcG7Cjl4Gp5Z j/WfeXvrpKCvHnO9Q0UGJLaL+4X3Dwi7Fzsd8YKUHQPq3Wg296vJ9S5ccf/uvYapKztS KGH9J83b52cTM8KQOWDudxTg156nMQ5+EQv/X2DimIjB93O44XgnbSK4xMPZvNUHYhp0 Ul+qyBsK3nrO5JHGiFk2DN7yBuGHNKBWe1K8BKJ1GOSpwcrRSzqXKzIuXNu95Q0qRwTM mRjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RidVVVjJ9Fs/X98lUBILSSxVcFYjM96HM+GK6KO0yUM=; b=VZW73jI5/s5Cq0QVP8YcFGfr6wzyAtauIAh2mXvjcwd1oQCThr45wxCf+Z5UpGkhsd X2U1IU7HwnGfQgrb6uoUuDypxhl9NUxbDOqnZypnFWJZx6pwioCOJyzpQPWsQ6zW7M4I Xezq78WCYKUJuQgElGE6EitOgC4IVnR3pAoaqSvrM0yLOQm+Xpf8p1SsIwhNaFcYWZF1 NrA8Eaff/P1Qz8I3uFBeRVzcpz0PN5H/ypSUfzYNtfy1O5H2pOFtw47Y5iV5Uda5PFCE A+XJVNJDobN/1xYOR6QFF/YrjG53FoRtp9lLclf6BZMjLpvrfqV+ABiQQFvNe8TOeYNh yzoQ== X-Gm-Message-State: AOAM530dEEiZlwdDA+wRszpo1tzolOHXOxV8mI5dovgd4wSVbYuCwXmd 5mk5wZMZNxfQzEUfBZ4MEfHrTbkR/+cF0lj6DMM= X-Google-Smtp-Source: ABdhPJyFZuPRcfOCCTgurh6wKqOPimL1CAjD2Y+GIDW3zrsgAbpzyXYq6wqitNIiW4Ds1ckhs5ef1758fIxtxL/6Eyk= X-Received: by 2002:a05:6102:805:: with SMTP id g5mr12913011vsb.6.1625546143347; Mon, 05 Jul 2021 21:35:43 -0700 (PDT) MIME-Version: 1.0 References: <20210702213648.GW817@mcvoy.com> <20210705002119.GL817@mcvoy.com> <20210705034751.GU817@mcvoy.com> <20210705134522.nzyIC%steffen@sdaoden.eu> In-Reply-To: From: Dan Stromberg Date: Mon, 5 Jul 2021 21:35:31 -0700 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="00000000000070b7ac05c66cf428" Subject: Re: [TUHS] Is C obsolete? (was Re: [tuhs] The Unix shell: a 50-year view) X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000070b7ac05c66cf428 Content-Type: text/plain; charset="UTF-8" On Mon, Jul 5, 2021 at 2:29 PM Clem Cole wrote: > > On Mon, Jul 5, 2021 at 4:16 PM Dan Stromberg wrote: > >> A null-terminated array of char is a petri dish. A proper string type is >> more like a disinfectant. >> > Hrrmpt.... maybe (in theory), but I can say that never seen it really work > in practice -- bwk in Why Pascal is Not My Favorite Programming Language > describes much of the > practical realities of this sort of choice: > I think language designers since Pascal have learned from Pascal's mistake there. Supposedly even Borland's TurboPascal had better strings than vanilla Pascal. --00000000000070b7ac05c66cf428 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Jul 5, 2021 at 2:29 PM Clem Cole = <clemc@ccc.com> wrote:
=

On Mon, Jul 5,= 2021 at 4:16 PM Dan Stromberg <drsalists@gmail.com> wrote:
A nul= l-terminated array of char is a petri dish.=C2=A0 A proper string type is m= ore like a disinfectant.
Hrrmpt.... maybe (in theory), but I can say= that never seen it really work in practice --=C2=A0 bwk in=C2=A0Why Pasc= al is Not My Favorite Programming Language=C2=A0describes=C2=A0much of = the practical realities of this sort of choice:

I think language designers since Pascal have learned= from Pascal's mistake there.

Supposedly even = Borland's TurboPascal had better strings than vanilla Pascal.
=
=
--00000000000070b7ac05c66cf428--