Re:Stack safety for free?
by auggierose on Monday December 06, 2021 @06:23PM
(#29467090)
Recursion 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.
Everything in a modern language is optional, but people are not rushing to program in a assembly.