News for hackers. Stuff that matters.
Re:Don't Implement Unification by Recursion by lioeters on Monday October 28, 2024 @06:05PM (#41976940)
It depends on the language and problem space, but I agree in general. Rewriting a recursive algorithm to be iterative is better done at an early stage of a program, or start iteration to begin with, because it gets increasingly difficult as the program grows in size and complexity. It's too late to think about if/when the stack blows, so better think about it before/as you write the logic.

There are no comments on this comment yet.