Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Sat, 12 Apr 2025 15:15:05 +0100 Organization: A noiseless patient Spider Lines: 46 Message-ID: References: <20250409142303.00004645@yahoo.com> <87ikndqabc.fsf@nosuchdomain.example.com> <20250410115501.000037a5@yahoo.com> <20250410080629.532@kylheku.com> <87a58mqt2o.fsf@nosuchdomain.example.com> <875xjaqmgf.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 12 Apr 2025 16:15:05 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5b5cdf67fe25ae40eb3e543c34a3e4c8"; logging-data="636340"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TvLx6NpVDQqCev4NNg8AT" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gE0WvEq7VtLtXiinW4HJMhsLH0M= In-Reply-To: Content-Language: en-GB Bytes: 3602 On 12/04/2025 14:59, James Kuyper wrote: > bart writes: >> On 12/04/2025 00:59, Keith Thompson wrote: >>> bart writes: >>>> On 11/04/2025 22:36, Keith Thompson wrote: >>>>> bart writes: >>>>> [...] >>>>>> Rubbish. Everyone finds C declaration syntax a nightmare. >>>>> Rubbish. I find C declaration syntax annoying, not a "nightmare". >>>> >>>> Annoying would be having to get letter case or punctuation just right. >>> [...] >>>> So, yeah, a 'nightmare' is more apt than 'annoying'. >>> Bart, bart, bart. >> >>> You made a false statement about how *everyone* feels about >>> C's declaration syntax. >> >> So what would be a true statement? That everyone finds it at least >> midly annoying? > > That there's a wide variety of opinions on the matter, just as there is > on just about every issue. The fact that C is one of the most widely > used languages should clue you in to the fact that large numbers of > people find it far less troublesome than you do, That says little about the quality of the language. It says rather more about the lack of choice regarding systems languages at this level, especially in previous decades, and also about it being foisted on people by those who created Unix. It's not so easy on that OS to prise apart OS, C language, C compiler, C headers and C libraries. There are a considerable number of design flaws in the language, some absolute howlers; that the language is also successful, for whatever reasons, doesn't suddenly make it a paragon of good design. A lot of those flaws make it more unsafe and more error prone than is needed. It also means a huge effort, probably several magnitudes more than would have been needed to just fix the language, has gone into tooling to help get around many of its shortcomings.