Deutsch English Français Italiano |
<20240603221858.172@kylheku.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <643-408-1753@kylheku.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Tue, 4 Jun 2024 05:25:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 31 Message-ID: <20240603221858.172@kylheku.com> 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> Injection-Date: Tue, 04 Jun 2024 07:25:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3aa8a3c73810addcc9c23577ef41fea1"; logging-data="326551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pMS6vFBfouZRA1ZYXXwXsiGViKXP+rZk=" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:yf8XljUn7uYpEGRAlZKLFIVtDIs= Bytes: 1764 On 2024-06-03, bart <bc@freeuk.com> wrote: > Actually, somebody could write a loop like this: > > for(int i=0;;++i) > > Is that an endless loop or not? Some compilers may recognize it as assertion which says "this code shall not be reached". > At this point someone will suggest a macro this: > > #define forever for(;;) > > All that suggest sto me is that the language *needs* an explicit endless > loop! Nope! #define ev #define e #define r for(ev;e;r) ... :) -- TXR Programming Language: http://nongnu.org/txr Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal Mastodon: @Kazinator@mstdn.ca