Skip to main content




@StewartPavitt “Yield,” like a crop or farm’s yield, means “to produce.” If you have a list and are iterating over it, each item is a result (or yield). When you make a function that yields items (you’re dynamically making a list) you use yield to tell the compiler that you’re producing things