Sujet : Re: Loops (was Re: do { quit; } else { })
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 15. Apr 2025, 08:25:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtl1ll$372de$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 15.04.2025 06:57, Rosario19 wrote:
On 13.04.2025 18:39, bart wrote:
[...]
>
for(let i = 1; i <= 36; i++) {
C for loop is great, but all can be workarounded with goto label
Sure. Or all done with Turing machines. - But why would one want to.
Maybe a note aside on your comment; I haven't read many specification
documents of contemporary language lately, but many of those old specs
often described the semantics of high-level constructs (like loops) by
an equivalent 'goto' based code pattern.
Janis