[Jprogramming] tail recursion/TCO?
Raul Miller
rauldmiller at gmail.com
Sat May 16 03:07:46 HKT 2009
On Fri, May 15, 2009 at 2:42 PM, gary ng <garyng2000 at gmail.com> wrote:
>> but recursion is a far broader topic than mere recursive invocation, and I
>> feel that some deep insights can be obtained if you do not divorce the
>> mechanism from the mathematics.
...
> I believe I used the wrong term then. When I said 'recursion', I implicitly
> assume the 'programming' sense, not necessary the arithmetic/math sense.
Once again, I would advise you not divorce the mechanism from
the mathematics.
There are problems which strongly favor recursive implementations,
but ... as my dad frequently told me, "it sounds like your solution
is looking for a problem."
--
Raul
More information about the Programming
mailing list