From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 26224 invoked from network); 25 Apr 2020 16:13:31 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 16:13:31 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A193E9C84C; Sun, 26 Apr 2020 02:13:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 2B7AB9C733; Sun, 26 Apr 2020 02:13:08 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=mxes.net header.i=@mxes.net header.b="BxikAcF4"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id D7E929C733; Sun, 26 Apr 2020 02:13:05 +1000 (AEST) Received: from smtp-out-4.mxes.net (smtp-out-4.mxes.net [198.205.123.69]) by minnie.tuhs.org (Postfix) with ESMTPS id 2787D9B962 for ; Sun, 26 Apr 2020 02:13:05 +1000 (AEST) Received: from squirrelmail.mxes.net (squirrelmail.mxes.net [198.205.123.113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPS id 859E77595B for ; Sat, 25 Apr 2020 12:13:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1587831183; bh=611qAWT9/mBjkzyHqHSsylhHGaLQkUUei2OZce1Cajs=; h=Message-ID:In-Reply-To:References:Date:Subject:From:To: MIME-Version:Content-Type; b=BxikAcF4XuBqPdJbSxtAnIXqZzVSkI2Q9F7LVn3NCS04Cw8BKMT4YXSNmCrCSqR8W NB1C+lxB95q7DSzywnvgHpDpx4E+Hve9QqhsdEsG55WxHlzBAS25iTEzd1NT8rwemr 14M22WOThFeXgrWHYk3KkCLcPv0VFiRRK0yhnNPk= Received: from squirrelmail.tuffmail.net (squirrelmail.mxes.net [198.205.123.113]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by squirrelmail.mxes.net (Postfix) with ESMTPSA id DD14575AEF for ; Sat, 25 Apr 2020 12:13:02 -0400 (EDT) Message-ID: <869178f23343aa4169c4c907bdade7bf.squirrel@squirrelmail.tuffmail.net> In-Reply-To: References: <20200425131112.6E54F18C0B6@mercury.lcs.mit.edu> Date: Sat, 25 Apr 2020 12:13:03 -0400 From: ron@ronnatalie.com To: "The Eunuchs Hysterical Society" User-Agent: SquirrelMail/1.4.23 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Sent-To: Subject: Re: [TUHS] C and C++ Regrets 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" The two things I'd wish had happened in C or C++ 1. That when they fixed structs/unions to have proper assignment and function argument and return behavior (i.e., making them full-fledged types), that they would have done the same for arrays. This inane "trea= t it like a pointer" has always been problematic. 2. That the default behavior in C++ is to *ALWAYS* initialize an object= , even if it is POD, no matter how it is allocated.