2 ms·
that's a huge step back for computing. The point of recursion is that it makes really hard problems simple to solve.
by ardit33 18y ago
that's a huge step back for computing.
The point of recursion is that it makes really hard problems simple to solve.
- earthboundkid 18y agoIt makes some hard problems simple to solve. Other times you end up wasting a lot of time figuring out how to send the return value to an accumulator without accidentally creating an infinite loop or doing things twice. Anyway, in Python you can always fake TCO using decorators. As long as someone invents the same thing for Javascript, no harm, no foul.