Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Sun, 06 Apr 2025 07:32:16 -0700 Organization: A noiseless patient Spider Lines: 67 Message-ID: <86ecy5fjin.fsf@linuxsc.com> References: <8634enhcui.fsf@linuxsc.com> <86ldsdfocs.fsf@linuxsc.com> <20250406161323.00005809@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 06 Apr 2025 16:32:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="041fd418ef8b485cdd75dbfc4b2fa6be"; logging-data="1249214"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rRzTATW17xOU+79slA7cod3e02poe5T8=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:jDMkgKpsceNG+0PcEC9cZXsCeio= sha1:5/yurrLMSRA8nG+nHhxymnA6RAs= Xref: csiph.com comp.lang.c:392128 Michael S writes: > On Sun, 06 Apr 2025 05:47:47 -0700 > Tim Rentsch wrote: > >> Thiago Adams writes: >> >>> Em 4/4/2025 5:48 PM, Tim Rentsch escreveu: >>> >>>> Thiago Adams writes: >>>> >>>>> What do you think of this control block? >>>>> >>>>> do >>>>> { >>>>> FILE f = fopen("file.txt", "r"); >>>>> >>>>> if (f == NULL) quit; /*goes to else part*/ >>>>> >>>>> /*success here*/ >>>>> for (int i =0; i < 10; i++){ >>>>> ... >>>>> if (error) quit; >>>>> } >>>>> >>>>> } >>>>> else >>>>> { >>>>> /*some error*/ >>>>> } >>>> >>>> I think it doesn't belong in comp.lang.c. >>>> >>>> I also think you have been participating in comp.lang.c >>>> long enough to know better. Kindly take your language >>>> fantasies somewhere else. >>> >>> I think the only reason you're saying that is because it's not >>> implemented in GCC, Clang, or maybe even MSVC. >> >> You are wrong. I responded because there is nothing in >> your posting that is suitable for comp.lang.c. >> >>> I've never seen you complain about any GCC extensions here. >> >> I don't remember seeing any posting in comp.lang.c that >> discusses a gcc extension and nothing else. There are >> plenty of postings that mention gcc extensions in passing, >> along with other material that talks about C, but never >> one that discusses gcc extensions exclusively. >> >> Furthermore, even if there had been a posting that concerns >> only a gcc extension and nothing else, and is one I didn't >> respond to, that doesn't excuse your action. It isn't like >> this is the first time you have posted something here that >> is not about C but only about your fantasy language, and >> also not the first time the unsuitability of such postings >> has been pointed out. You're a repeat offender. So stop >> pretending you are being picked on for no reason. > > Could you recommend a more appropriate place for Thiago and others > where they can discuss C-like fantasy languages? The newsgroup comp.lang.misc seems like a natural candidate. I don't know if comp.lang.misc has an official charter, but at least to me new features of any widely used programming language would appear to fall under the umbrella of comp.lang.misc.