Re:Thinking About Recursion
by tgv on Monday October 12, 2020 @02:04AM
(#24751818)
The point of recursion is not recursion, but a better way to write code. Better can be more readable, less errors, whatever, but adding two parameters to the Fibonacci function for the sake of introducing tail recursion, where even iteration is more understandable, is pointless.
[ Parent
| on HN ]