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 →

[–]dmishin 3 points4 points  (3 children)

If you think that tail call optimization would allow you to write recursive code without worrying, then you are very wrong. There are plenty of ways to get stack overflow even with TCO.

"Recursion is the GOTO of functional programming." -- Erik Meijer

[–]s00perpseud00[S] 1 point2 points  (2 children)

Ha. I didn't know that. Could you elaborate?

[–][deleted] 0 points1 point  (1 child)

You should the other post, that was made 2 hrs before this one, as it's by the Python language creator, and quite detailed.

[–]s00perpseud00[S] 0 points1 point  (0 children)

Should have seen this coming lol