Sujet : Re: Loops (was Re: do { quit; } else { })
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 21. Apr 2025, 21:39:45
Autres entêtes
Organisation : None to speak of
Message-ID : <87sem11c6m.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Gnus/5.13 (Gnus v5.13)
bart <
bc@freeuk.com> writes:
On 21/04/2025 12:34, James Kuyper wrote:
bart <bc@freeuk.com> wrote:
[...]
The compiler cannot do any checking: for (i=0; i<n; ++n) is fine.
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.comvoid Void(void) { Void(); } /* The recursive call of the void */