Sorry to bother you all with what you might consider trivia, but
someone
in my course forum posted this statement:
I have never seen or heard of real uses of recursion except for
proving
cleverness,
so I thought I would ask you all if that is true. Is it really not
used
in real world
Any code which walks a tree is almost certainly going to be using
recursion. This is everything from a chess game analyser, to image
processing software, to your browser when it's rendering a web page and
much more in-between.
For the comment about Chess, see minmax for a concrete example:
Sorry to bother you all with what you might consider trivia, but someone in my
course forum posted this statement:
I have never seen or heard of real uses of recursion except for proving
cleverness,
so I thought I would ask you all if that is true. Is it really not used in
real world
Hi Deb,
For good training on recursion, I can't think of better material than:
http://www.ccs.neu.edu/home/matthias/HtDP2e/
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
On 10/09/14 03:56, Deb Wyatt wrote:
I have never seen or heard of real uses of recursion except for proving
cleverness,
so I thought I would ask you all if that is true. Is it really not used in
real world applications?
Its often used in prototyping and then converted to non-recursive