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.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18705 invoked from network); 14 May 2020 17:32:23 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 14 May 2020 17:32:23 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 61A019C966; Fri, 15 May 2020 03:32:20 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B93039C95E; Fri, 15 May 2020 03:32:08 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 672139C95E; Fri, 15 May 2020 03:32:07 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id 02C3D9C95D for ; Fri, 15 May 2020 03:32:06 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id 6473D35E149; Thu, 14 May 2020 10:32:06 -0700 (PDT) Date: Thu, 14 May 2020 10:32:06 -0700 From: Larry McVoy To: Dave Horsfall Message-ID: <20200514173206.GJ20771@mcvoy.com> References: <20200511005745.GL17035@mcvoy.com> <357EFE54-BD94-4C10-8C43-C6735BF7D317@via.net> <20200511202555.GU17035@mcvoy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Thu, May 14, 2020 at 09:36:57AM +1000, Dave Horsfall wrote: > I had to learn C++ for a project at $WORK years ago (the client demanded > it), and boy was I glad when I left... Amen. I'm being a whiney grumpy old man, but I'm sort of glad I'm at the tail end of my career. Going into it now, there are some bright spots, and some dim ones, Go seems nice, Rust could have been nice but they just had to come up with a different syntax, I can't see why anyone would do anything other than an improved C like syntax, Java and C++ seem awful, D tried but threw too much into the language like C++ did, if D had had some restraint like Go does, D would probably be my language of choice. Personally, I just want a modernized C. If you want to see what I want take a look at https://www.little-lang.org/ It's got some perl goodness, regexps are part of the syntax, switches work on strings or regexps as well as constants, it's pleasant. And completely doable as an extension to C. Oh, and it has reference counting on auto allocated stuff so when it goes out of scope, free() is automatic. --lm