Lists Home |
Date Index |
Rick Marshall wrote:
> perhaps we could do an informal survey here and ask when was the last
> time you wrote a recursive function? and how many non-recursive
> functions to do you write for every recursive function? how many
> recursive functions could you have used instead?
Sure, I agree with you here. And this is, in fact, one of the reasons
XQuery is more intuitive for most users than XSLT, unless they are doing
the kinds of transformations involved in formatting documents with
richly recursive structure.
Of course, XQuery does support recursion, too, but recursion is not the
heart of how XQuery thinks for most processing.
I also think most programmers prefer a keyword syntax to an XML-based
syntax for everyday programming.