« Return to Thread: Request for eachFileRecursive

Re: Request for eachFileRecursive

by Stepan Koltsov :: Rate this Message:

Reply to Author | View in Thread

On Tue, Jul 29, 2008 at 01:49, Jamie Webb <j@...> wrote:

> We've got two possibilities given here: 'listRecursively' and
> 'recurse'. However, IIRC Python calls this function 'walk', which I
> quite like. In particular, 'recurse' seems a strange choice when in
> fact we're unrolling the recursion by providing an iterator.
>
> Any opinions?

I like "walk". It should return Iterator, not Iterable, as I suggested before.

S.

 « Return to Thread: Request for eachFileRecursive