4 ms·
I completely agree. Whenever I praise recursion there's always some person that's shouts "Recursion is just looping!" These people completely miss how recursion
by rubiquity 12y ago
I completely agree. Whenever I praise recursion there's always some person that's shouts "Recursion is just looping!" These people completely miss how recursion changes how you codify problems. You get to break the problem down into a sub-problem which leads to much more expressive code. Combine recursion with pattern matching for extra spicy solutions.
- KMag 12y agoTail self-recursion and mutual cyclic tail recursion are equivalent to looping, but there are other forms of recursion.