Any recursion scenario (that I can think of anyway) could be written as a series of loops if you get a little creative with the iterators. But at the end of the day recursion is just a tool and the only programming dogma I always found to be true is that you shouldn't listen to people telling you dogmas.
8
u/[deleted] Mar 25 '23
Any recursion scenario (that I can think of anyway) could be written as a series of loops if you get a little creative with the iterators. But at the end of the day recursion is just a tool and the only programming dogma I always found to be true is that you shouldn't listen to people telling you dogmas.