3 ms·
Tail recursion is unrelated to WHILE and FOR. Scheme also did not just introduce tail recursion, but full tail call optimization. Python sure does not need it
by lispm 9y ago
Tail recursion is unrelated to WHILE and FOR.
Scheme also did not just introduce tail recursion, but full tail call optimization.
Python sure does not need it, it already has a more complex iteration stuff like generators.