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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16040 invoked from network); 14 May 2020 17:08:55 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 14 May 2020 17:08:55 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A10589C66C; Fri, 15 May 2020 03:08:49 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B49F19C698; Fri, 15 May 2020 03:08:25 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EJvLmZGK"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id EDFEC9C669; Fri, 15 May 2020 03:08:22 +1000 (AEST) Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) by minnie.tuhs.org (Postfix) with ESMTPS id 7CB4F9C604 for ; Fri, 15 May 2020 03:08:22 +1000 (AEST) Received: by mail-vs1-f43.google.com with SMTP id g2so2424939vsb.4 for ; Thu, 14 May 2020 10:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=X9HYpoNEKieS2bYYOtvYiFXN7u0KeaPS3xxCBSqr+oc=; b=EJvLmZGKyg287XTdSXKqQFBottpGnN+ofzj7k0rEJVBgT4U690+uDmMS45pZ7d4uol hc6yPu6pe1npXHchytLjHquuEvL29VTVPIN/qu3EfRIpXzpU9bV38gA+PjjIq0y2sdfn cuqwPp+44YSGUueT/pguC+W60titi9cUDAWQW6a2OCs8RhikNkOzpg4x8W8T76Dp+rQf PTgHkruAzqvjFzd/gckP3ipoivfuYTJ5T82oiwi+PXFy2DUEd8GgZDfO5U876+BuBNav XyKcBcIPpgDbYWF+fHbbzxI4mfMNpoBxiDER2jQmunyKg8L/yXh6gCCBgl7Rt/44egIf naUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=X9HYpoNEKieS2bYYOtvYiFXN7u0KeaPS3xxCBSqr+oc=; b=Xtm4KtjUTW9TSLx2PsiryGjg8fPuRrRMH2vH6qDTAq2kbiMOHSPo2KxmD/hSAUawoC 3zc5zxiF7TAapcNtoae1YCcUsOwzbrf6kIIdtZJgACbXh1VNxcm534lBnSbcMnWOimiP Th6LZTGvUnil2NlvOV6258HP81Y+gY6TjjzPTFC43Z9mi4TB8h4r8D717Kd3TBeINPXK SkGu6DT7z6Qg1FATIsFKb0M1tgEmHAjJW6HQPmoI9pV+M+y104HDTGSZv13B8dHIi12y AaC6yZeCqRPnvdWtunucyMNTmdC9/44ouwLlmEjGRP6vfCkl1LRw6dC4EHNvvsQxwoGH DDTw== X-Gm-Message-State: AOAM5302OE1mo3Vnp+XHLXgkZntAmu6bEh+txtbRtko/dmtlRPNCBQxh u0yMgOo//rwXQjFMgJfJLA60OT9Prh6pxRY9BAUtWg== X-Google-Smtp-Source: ABdhPJx3DXIIgQXewnlINGnlz5WB0Z9+Of7YekRTJ9+VErieHBiV2RSThuZBhYji3cQG/IahjM07JD6L2IzfaaAlcQ0= X-Received: by 2002:a05:6102:3c7:: with SMTP id n7mr4229952vsq.179.1589476101015; Thu, 14 May 2020 10:08:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:4717:0:0:0:0:0 with HTTP; Thu, 14 May 2020 10:08:20 -0700 (PDT) In-Reply-To: <4D7C0714-D559-4562-ADB5-8A0E313BC28E@mcjones.org> References: <4D7C0714-D559-4562-ADB5-8A0E313BC28E@mcjones.org> From: Paul Winalski Date: Thu, 14 May 2020 13:08:20 -0400 Message-ID: To: TUHS main list Content-Type: text/plain; charset="UTF-8" Subject: Re: [TUHS] v7 K&R C 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 5/13/20, Paul McJones wrote: > > C continues the tradition begun by Fortran and Algol 60 of overloading the > arithmetic operators on the various numeric types. C++ allows new types to > be defined; when a new type obeys the generally understood properties of a > built-in type, it makes sense to use the same operator (or function) for the > corresponding operation on the new type (e.g., addition on complex numbers, > arbitrary-precision integers and rationals, polynomials, or matrices). I agree; that makes sense. But I don't like things such as << and >> in I/O-related classes. -Paul W.