Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Fri, 9 May 2025 19:11:40 +0100 Organization: Fix this later Lines: 39 Message-ID: References: <8634enhcui.fsf@linuxsc.com> <86ldsdfocs.fsf@linuxsc.com> <20250406162607.0000657a@yahoo.com> <867c3xfhkk.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 09 May 2025 20:11:43 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2b573b17a97b3b771864cdd7a1499e84"; logging-data="3112687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qKECA724CP2FnucRqbb/2SI8cGnav2VZYTp4YCCnasg==" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:bNH1FIvA+xm+TtMu6FfHbKDJW7k= Content-Language: en-GB In-Reply-To: Bytes: 2668 On 09/05/2025 18:07, Scott Lurndal wrote: > Richard Heathfield writes: >> Four important ways that C scores over other languages are: >> >> * Speed >> * Simplicity >> * Size >> * Portability >> >> The more you add, the more likely you are to slow it down, the >> more complex you make it, the bigger it gets, and the harder it >> is to port. > > To be fair to C++ (not to C++ fanatics, however), it is > worth pointing out that one doesn't need to use all the > C++ crapola to leverage some of the good features of > C++ (C with classes, basically) and obtain the same four > important characteristics you raise above. Sure. On the other hand, C++ already has classes. If I want to tighten a nut, I use an adjustable spanner. If I want a hole, I don't pick up a bit in the spanner's jaws and do a cack-handed job; I pick up a drill. Tools don't compete... or shouldn't. I have classes at my fingertips whenever I want them, I don't have to wait 20 years for the ISO guys to change C, and C gets to stay light and tight. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within