Me too, and the visitor pattern has a lot of the properties of 
recursion, so might be just as confusing.

The recursive approach is also more flexible, because the node can 
decide what order to visit it & its children.  Is the visitor pattern 
typically fixed at depth first?

Best,
Martin

Greg Ewing wrote:
> Martin C. Martin wrote:
>> The recursive way seems 
>> simpler, but recursion in general is confusing to many
> 
> Anyone who can't handle recursion is going to have
> a hard time working on any kind of compiler, it
> seems to me...
> 
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to