CyberPeasant wrote:
> As an amateur anthropologist, I would be interested in
> knowing the true origins of the adversion to recursion.
> I think there are psychological reasons -- uneasiness about
> the stack.
Well, sometimes it is hard to get a grip on how deep a recursion can go,
and it usually wastes a lot of space. And some people have great trouble
in understanding recursion at all (probably about the same people as the
ones having trouble with .
My worst experience of recursion is from programming Prolog and trying
to do a iteration.. (kind of awkward when you only have recursion).
Personally I think that recursion is wounderful in some situation, and
really bad in other. It very much depends on the nature of the problem
to be solved (and the variance of input).
---
Henrik Nordström