Message273467
I still believe "Reiterable" better demonstrates the concept.
When you request a Reiterable as a function parameter or assert if something is a Reiterable the other side knows exactly what you mean.
A "Collection" is way more ambiguous - if you create an object that acts like range() but you can cycle over it more than once I wouldn't exactly call it a collection. I would though call it a Reiterable and it would be clear for any Python programmer familiar with the concept of iterators.
I believe this is a funny case in which the naming is more important than the implementation as it will turn into a term or concept that will be further used in many places to come. |
|
Date |
User |
Action |
Args |
2016-08-23 15:45:58 | bar.harel | set | recipients:
+ bar.harel, gvanrossum, brett.cannon, rhettinger, NeilGirdhar, levkivskyi, srkunze |
2016-08-23 15:45:58 | bar.harel | set | messageid: <1471967158.82.0.934829156365.issue27598@psf.upfronthosting.co.za> |
2016-08-23 15:45:58 | bar.harel | link | issue27598 messages |
2016-08-23 15:45:58 | bar.harel | create | |
|