3 ms·
I don't need recursion that can equally well be modelled as iteration. Just take it out of the language. If you allow recursion, support it properly.
by auggierose 5y ago
I don't need recursion that can equally well be modelled as iteration. Just take it out of the language. If you allow recursion, support it properly.
- marcosdumay 5y ago"X is optional" is completely different from "X is not suitable for the real world". Everything in a modern language is optional, but people are not rushing to program in a assembly.
- auggierose 5y agoRecursion that cannot support arbitrary recursion depths is not optional, but broken. Going from a high-level programming language to assembly is going down the level of abstraction. I don't recommend that, unless there is a really good reason to. Iteration and tail recursion is the same level of abstraction. I am not arguing against recursion. I am saying, do it right. Otherwise it is useless.