4 ms·
Recursion is all fine and dandy when you have TCO. Most languages don't.
by 127 6y ago
Recursion is all fine and dandy when you have TCO. Most languages don't.
- butterisgood 6y agoAnd even in the ones that do, you often want a trace (which you can get fairly often) when debugging.
- wffurr 6y agoIs the stack trace for a TCO recursive loop really that different from a function with a loop in it? You still see the caller and the state of the loop like recursion.