Liste des Groupes | Revenir à cl c |
On 17.04.2025 02:26, Keith Thompson wrote:I haven't been able to find that post. In any case, it was not in the sequence of posts stemming from this one:bart <bc@freeuk.com> writes:The "majority" is as a typical phrase introduced by bart as sort ofOn 16/04/2025 21:03, Keith Thompson wrote:>bart <bc@freeuk.com> writes:>On 16/04/2025 06:35, Janis Papanagnou wrote:Exactly, because "unusual" and "the majority" are the onlyOn 15.04.2025 22:46, bart wrote:>On 15/04/2025 20:07, Scott Lurndal wrote:[...]>
Real for loops _are_ a three-way construct.
>
[...]
Any step other than 1 is unusual. [...]Nonsense. Arithmetic loop steps other than one are noting unusual>
and been supported by programming languages (and also been used)
since decades in programming.
So what are you claiming, that the majority of loops in any given
program will have steps other than +1 or -1?
possibilities.
I'm not sure what you're getting at.
I think the misunderstanding is over the meaning of the rather
vague word "unusual".
>
Did you really think that Janis was claiming that "the majority of
loops in any given program will have steps other than +1 or -1"?
substitute for an argument. (I usually avoid claims about presumed
"majorities", about what "all" or "most" people here or everywhere
else do.)
It can be easily looked up what I wrote; but bart regularly just
moves goalposts when he's lost, instead of accepting the obvious
facts (or other opinions based on experiences or else).
To reformulate (from memory) some basics I actually said...
Statistics of 98% for simple loops are close to reality,
IMO.This is 'my' flexible loop:
Increments of +1/-1 were the rationale for Pascal's decision to
support just such primitive loops.[*]
You are lacking flexibility with only such primitive loops.
Many language provided support more more types of useful loops.
"C" loops have a flexibility that I appreciate and that I use.
Statistical numbers have obviously changed for non-simple loops
for languages that allow such usages.
Les messages affichés proviennent d'usenet.