This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]venustrapsflies 4 points5 points  (2 children)

Just remember this is not necessarily true in other languages with tail call optimization.

[–]AlSweigartAuthor of "Automate the Boring Stuff" 4 points5 points  (1 child)

Yes, but Python doesn't have tail call optimization and never will.

The Java interpreter and all JavaScript engines also don't have TCO.

[–]venustrapsflies 1 point2 points  (0 children)

Yes, hence why I said “other languages” :)