Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Whaddaya think?
Date: Tue, 18 Jun 2024 17:24:44 -0700
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <86bk3xixtf.fsf@linuxsc.com>
References: <666ded36$0$958$882e4bbb@reader.netnews.com> <87ed8x4zjl.fsf@nosuchdomain.example.com> <666f10b7$0$1412896$882e4bbb@reader.netnews.com> <20240617003207.452@kylheku.com> <86msnik9a7.fsf@linuxsc.com> <87msnizhmr.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Wed, 19 Jun 2024 02:24:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fa54ab77d267afe6c3d864a61670dc2b";
logging-data="1657039"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HxybFXwFCuPKGid0ZAnY2N1/Ad7yhNNc="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:htXtZRDOhq3nto6XK6EcEr4hfkE=
sha1:1Xz9reIuWVhriyZcZ1NkkWvXFFY=
Bytes: 1944
Keith Thompson writes:
> Tim Rentsch writes:
>
>> Kaz Kylheku <643-408-1753@kylheku.com> writes:
>>
>>> Speaking of while, the do/while construct does not require parentheses
>>> in order to disambiguate anything, since it has a mandatory semicolon.
>>> Yet, it still has them.
>>
>> It has them to allow an extension for a "loop-and-a-half" control
>> structure:
>>
>> do statement while ( expression ) statement
>>
>> and so for example
>>
>> do c = getchar(); while( c != EOF ) n++;
>>
>> to count characters on standard input.
>
> Oh? Do you have any evidence that that was the intent? [...]
I think you're reading something into my remark that it
didn't say.