On 4/20/2012 22:01, Roy Smith wrote: > A basket of apples is a basket which contains apples, in the same way a > list contains foos. But an iterator doesn't contain anything. You > wouldn't say, "a spigot of water", because the spigot isn't a container > holding the water. It is simply a mechanism for delivering the water in > a controlled way.
You would, however, say "water spigot". If you apply that analogy, maybe "Foo iterator" is reasonable. (I didn't read the whole thread so maybe someone suggested this already, or dismissed it.) Personally though, I'd probably say an iterator *to* Foos. Evan
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list