Tagged Questions
16
votes
7answers
3k views
What imperative programming languages do not support recursion?
To my knowledge, all modern imperative programming languages support recursion in the sense that a procedure can call itself. This was not always the case, but I cannot find any hard facts with a ...
11
votes
2answers
524 views
Can and do compilers convert recursive logic to equivalent non-recursive logic?
I've been learning F# and it's starting to influence how I think when I'm programming C#. To that end, I have been using recursion when I feel the result improves readability and I can't envision it ...
2
votes
1answer
550 views
Tips for Tail Call Recursion in Python [duplicate]
Ok, Python doesn't have tail call optimization.
But for those who think better recursively than "looply", whats the best practices to write code??
1000 stack calls are enough for many cases, but ...