Sujet : Re: Loops (was Re: do { quit; } else { })
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 22. Apr 2025, 09:40:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vu7kmo$7qh5$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 22.04.2025 02:26, bart wrote:
On 22/04/2025 00:12, Keith Thompson wrote:
[...]
This is an interesting point: too much stuff on one line is usually
frowned upon: multiple statements, multiple variables being declared etc.
But when it's a for-loop, then apparently anything goes.
You have no fantasy about sensible code patterns but when it goes
to imputations and misrepresentations your fantasy is limitless.
All three would be IMHO clearer if each of the three clauses were on a
separate line. The fact that you can write a badly formatted C-style
for loop is not an argument against C-style for loops.
Complex loops are nearly always badly formatted and written on one line.
Nobody cares. As you've demonstrated.
Take your meds and recognize that the world is different than how
your fantasy deludes you.
And stop making such nonsensical claims like "nearly always" without
any evidence.
Janis