Deutsch English Français Italiano |
<v3mkaj$bpds$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Tue, 4 Jun 2024 10:47:15 +0200 Organization: A noiseless patient Spider Lines: 28 Message-ID: <v3mkaj$bpds$3@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <v2o57g$1t5p4$1@raubtier-asyl.eternal-september.org> <v3dkgh$2e0me$1@dont-email.me> <v3gou9$36n61$3@dont-email.me> <v3hrq7$1o743$1@news.xmission.com> <v3i7u3$3bp0v$1@dont-email.me> <20240602124448.704@kylheku.com> <v3lgti$325i$1@dont-email.me> <87le3l1ugi.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 04 Jun 2024 10:47:15 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7740955b17fd8df0cccaba227b9e3b39"; logging-data="386492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kMs1G2YyuDGp81wPzl8vK7ZLDM5+OP4M=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:DUOn/jcNdKA7RYm57cCHE2Av/Po= In-Reply-To: <87le3l1ugi.fsf@nosuchdomain.example.com> Content-Language: en-GB Bytes: 2397 On 04/06/2024 01:23, Keith Thompson wrote: > bart <bc@freeuk.com> writes: > [...] > >> All that suggest sto me is that the language *needs* an explicit >> endless loop! > > No, it doesn't. > Indeed - it suggests that the language already has perfectly good, workable ways to specify endless loops. It's fine to have additional language (or library) features for very common tasks, or for tasks where the new feature adds clear benefit. I don't see what benefit a language keyword "forever" compared to "while (true)" or one of the other common idioms. > I suspect some of the people in this thread saying that one form > is obviously better than the others are joking. > Yes. People usually have their own preferences and habits for what they write themselves, but dislike for the alternatives is usually exaggerated. (Unless someone uses a goto loop - then the source code should be burned and the programmer forced to copy out the paper "Go to considered harmful" for the rest of the working week.)