3 ms·
That was just one way of phrasing it. You could just as easily put it as, "For every piece of cooking equipment, clean it and put it away."
by SilasX 6y ago
That was just one way of phrasing it. You could just as easily put it as, "For every piece of cooking equipment, clean it and put it away."
- UIZealot 6y agoThere 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.