4 ms·
There you need the word "every" to convey that it's a loop. I'd certainly agree that "for each" is much better than "for" alone.
by UIZealot 6y ago
There you need the word "every" to convey that it's a loop.
I'd certainly agree that "for each" is much better than "for" alone.
- ggggtez 6y ago"Do your homework" doesn't imply a loop either. Nor does "This could take a while" It should not be a shock that the english language doesn't naturally have a single word that can express both a condition/duration as well as a command without any other helper words. Do is superfluous. Everything in an imperative program is a request to do something.
- UIZealot 6y ago> "Do your homework" doesn't imply a loop either. But "for these subjects, do your home work" does. > Nor does "This could take a while" I never claimed that "while" alone is any better. > It should not be a shock that the english language doesn't naturally have a single word that can express both a condition/duration as well as a command without any other helper words. I never asked for a magic word. To the contrary, I was lamenting the lost of the helper word "do", making the "for" alone nonsensical. > Do is superfluous. Everything in an imperative program is a request to do something. I disagree. I think "for...do" makes things much clearer than "for" alone.