3 ms·
Stack-depth is an implementation detail. It's chicken-and-egg. Programmers think of recursion as that thing that blows up the stack, so they don't demand that
by mrkeen 6y ago
Stack-depth is an implementation detail.
It's chicken-and-egg. Programmers think of recursion as that thing that blows up the stack, so they don't demand that language implementers do a better job with it. Language implementers don't stop recursion from blowing up the stack because no-one is asking them to do so.
- andi999 6y agoYes. So you cannot use it in production.