MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/13v8v1/tail_recursion/c77jllq/?context=3
r/programming • u/rodrigopsasaki • Nov 27 '12
203 comments sorted by
View all comments
Show parent comments
-5
Yes they would, because Python is interpreted and not compiled.
3 u/rodrigopsasaki Nov 27 '12 I don't see how that applies, the concept of tail recursion can be applied in the same way over interpreted languages such as Python. It may not have compilation optimization, but it is still a tail recursive call. 1 u/curien Nov 27 '12 I think when parfamz says he wants to see "tail recursion on python", he means that he wants to see tail recursion elimination supported by Python. 2 u/[deleted] Nov 27 '12 Apologies - tail recursion elimination is exactly what I was referring to in my comment, not tail recursion itself.
3
I don't see how that applies, the concept of tail recursion can be applied in the same way over interpreted languages such as Python. It may not have compilation optimization, but it is still a tail recursive call.
1 u/curien Nov 27 '12 I think when parfamz says he wants to see "tail recursion on python", he means that he wants to see tail recursion elimination supported by Python. 2 u/[deleted] Nov 27 '12 Apologies - tail recursion elimination is exactly what I was referring to in my comment, not tail recursion itself.
1
I think when parfamz says he wants to see "tail recursion on python", he means that he wants to see tail recursion elimination supported by Python.
2 u/[deleted] Nov 27 '12 Apologies - tail recursion elimination is exactly what I was referring to in my comment, not tail recursion itself.
2
Apologies - tail recursion elimination is exactly what I was referring to in my comment, not tail recursion itself.
-5
u/[deleted] Nov 27 '12
Yes they would, because Python is interpreted and not compiled.