3 ms·
Python's "for customer in customers" can't be clearer in my opinion.
by willcipriano 6y ago
Python's "for customer in customers" can't be clearer in my opinion.
- harry8 6y ago"for each customer in customers" is how you'd say that in plain english. Some languages do use foreach as a keyword echoing that.
- WorldMaker 6y agoIn math you have the "for all customers there exists a customer that". Maybe I should write up a formal INTERCAL proposal that this should be the proper loop construct in 2020, spelled out in plain Math English like that.