Subject:
|
Re: Would-be hacker queries.
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Tue, 11 May 1999 20:28:52 GMT
|
Viewed:
|
909 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
JR Conlin <jrconlin@email.com> wrote:
> You know, I have never really liked the factorial example of recursion.
> Honestly, how many times have you really needed to generate a factorial in
> general experience?
The factorial is useful for probability.
The factorial is a simple, understandable example of recursion, useful to
teach the concept; it is lacking only in that it is not very efficient.
But when you are first learning, I think concepts are more important than
efficiency.
Good examples of where recursion is actually useful are:
- ray tracing
- solving Towers of Hanoi
Not that these help explain the concept, though.
-Kekoa
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Would-be hacker queries.
|
| (...) You know, a 'bot that actually solves a Towers of Hanoi puzzle with real plates and whatnot would be a pretty cool challenge on hardware like the RCX. (ponder, ponder, ponder)... I don't think it's possible with anything less than LegOS or (...) (25 years ago, 11-May-99, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | RE: Would-be hacker queries.
|
| (...) problem. (...) You know, I have never really liked the factorial example of recursion. Honestly, how many times have you really needed to generate a factorial in general experience? I feel a better example is building stuff with LEGO. In this (...) (25 years ago, 11-May-99, to lugnet.robotics)
|
11 Messages in This Thread: ![RE: Would-be hacker queries. / Re: Request for new list -lego-robotics@crynwr.com (Blake Winton) (10-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Scheme -lego-robotics@crynwr.com (Rich Clemens) (11-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![RE: Would-be hacker queries. -lego-robotics@crynwr.com (JR Conlin) (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Would-be hacker queries. -Mark Tarrabain (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Would-be hacker queries. -Peter Hesketh (11-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: Scheme -Joel Shafer (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Scheme -Alex Wetmore (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Scheme -Eric Lind (11-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Scheme -lego-robotics@crynwr.com (Rich Clemens) (12-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Would-be hacker queries. / Re: Request for new list -Eric Lind (11-May-99 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|