Op 30-09-13 20:55, Piet van Oostrum schreef:
Franck Ditter <nob...@nowhere.org> writes:
Good approach of FP in Python, but two points make me crazy :
1. Tail recursion is not optimized. We are in 2013, why ? This is known
technology (since 1960).
And don't answer with "good programmers don't use recursion", this is bullshit.
Tail recursion optimization throws away valuable stack trace information in
case of an error.
This is hardly relevant. Because what are we told to use instead of
tail calls? We are told to use loops. But when you use a loop the
stack trace doesn't contain the values of previous runs through
the loop.
So how valuable is that stack frame information when the proposed
alternative doesn't produces it either.
--
Antoon Pardon
--
https://mail.python.org/mailman/listinfo/python-list