2 ms·
Can I correctly summarize your comment as: "in Python, tail recursion can be considered premature optimization"? In which case I would agree, but wouldn't it be
by Confusion 18y ago
Can I correctly summarize your comment as: "in Python, tail recursion can be considered premature optimization"? In which case I would agree, but wouldn't it be nice if you could 'annotate' specific functions/methods as 'this one is tail recursive, please optimize'?