Re:Thinking About Recursion
by xupybd on Sunday October 11, 2020 @08:29PM
(#24750357)
>>Whether it's simpler depends on the problem.
I couldn't agree more. One down side of recursion can be that if you need to refactor you might find recursion is no longer the better solution. Unwinding that can be a pain.
I couldn't agree more. One down side of recursion can be that if you need to refactor you might find recursion is no longer the better solution. Unwinding that can be a pain.