2 ms·
I think there's an argument that "do" is just a placeholder for the body of the loop, i.e. "clean this item and put it away". If you flip the order that the bod
by saghm 6y ago
I think there's an argument that "do" is just a placeholder for the body of the loop, i.e. "clean this item and put it away". If you flip the order that the body and the iteration are expressed so that it reflects what most programming languages use for syntax, it would be "for each piece of cooking equipment, clean it and put it away". There's no "do" here, nor is it needed.
- UIZealot 6y agoThere you need the word "each" to convey that it's a loop. I'd certainly agree that "for each" is much better than "for" alone.