Standard @iter module unfriendly to collection builders
jason.orendorff at gmail.com
Tue Nov 15 13:42:20 PST 2011
On Sun, Nov 13, 2011 at 12:17 PM, Erik Arvidsson
<erik.arvidsson at gmail.com> wrote:
> Another thing to consider is whether these functions belong in an iter
> module or in a reflect module? I'm leaning towards the letter.
I completely agree.
for-of should be the tool for iterating over collections.
We should make it super easy to get a collection of an object's properties.
The right name for that facility is @reflect or @inspect, not @iter.
The appropriate Python analog is the inspect module, not itertools.
More information about the es-discuss