Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Loops (was Re: do { quit; } else { }) Date: Mon, 21 Apr 2025 13:39:45 -0700 Organization: None to speak of Lines: 30 Message-ID: <87sem11c6m.fsf@nosuchdomain.example.com> References: <20250419092849.652@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 21 Apr 2025 22:39:47 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9df2d817d671536e75ba887619a4c13a"; logging-data="3102230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bBb+guFR8OWZqB//MklBd" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:5B/zyJ5bwIH1cYNjjdzIOM+6MzU= sha1:/cQGtvUQncmJiICcnGxcuOjQSV8= Xref: csiph.com comp.lang.c:392783 bart writes: > On 21/04/2025 12:34, James Kuyper wrote: >> bart wrote: [...] >>> The compiler cannot do any checking: for (i=0; i> The compiler cannot tell you what's wrong with that assignment >> statement, either. > > You don't understand the issue. OK, that's fine. Because it is > possible to make typos at any point in the source code, then it > doesn't matter if the language provides unnecessary extra > opportunities for those errors. I'm reasonably certain that he does understand the issue. I'm reasonably sure that I also understand the issue. We just **disagree with you**. Why do you have so much difficulty accepting that? [...] You give the impression that you believe that the rest of us all understand, deep down, that C-style for loops are as bad as you tell us they are, and that we're in denial, perhaps deliberately, perhaps with the goal of annoying you. That's ridiculous. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */