# each (10-each.com) Each means every single one of a group, taken one at a time. A person who says each is thinking of fairness, of giving or doing the same thing for every member of a set. ## What a model may hear - iteration method (programming languages like Ruby, JavaScript, Python): apply a block of code to every element in a collection, often returning the original collection - quantifier in logic (formal logic, mathematics, linguistics): assert that a property holds for all members of a domain, often paired with an existential quantifier - distributive determiner (natural language processing, computational linguistics): mark a noun phrase as requiring per-item rather than collective interpretation - cost or rate indicator (e-commerce, pricing systems): signal that a price applies per unit, triggering calculations of totals ## Where people and models part ways - Says: "Give each of them a different color." Means: Every person gets one color, and the colors vary from person to person. May be taken as: Iterate through a collection and apply the same transformation, or assign the same color to all. Say instead: "Assign a unique color to every person, with no two people sharing a color." - Says: "Check each one carefully." Means: Examine every item with human attention and judgment. May be taken as: Run a validation loop that returns true or false per item without deeper analysis. Say instead: "Examine every item in detail and flag any that seem wrong or unusual." - Says: "Each should get what they need." Means: Distribute resources based on individual needs, which may differ. May be taken as: Apply an identical formula or equal split to all items in a list. Say instead: "Distribute resources so that every individual receives what that specific individual requires." - Says: "Do each task in order." Means: Complete tasks sequentially, one after another, preserving sequence. May be taken as: Parallelize or reorder for efficiency, losing the intended sequence. Say instead: "Complete every task one at a time, starting with the first and finishing with the last, without skipping or reordering." ## Tips - Say one at a time or individually when you need serial processing, not just each. - Specify whether items can be handled in parallel or must stay in order. - Say whether results should be collected separately or combined. - Add for example with two cases when you want distinct treatment per item. - Say check for problems a human would notice if you need judgment, not just validation. ## Often confused with - every: treats the group as a whole; each stresses individual members - all: allows collective or batch action; each requires per-item handling - for: a loop keyword; each is a method or determiner with specific return behavior - map: returns transformed results; each returns the original collection unchanged - per: a rate or ratio; each is a distributive that selects items - any: existential, at least one; each is universal, every one