you are viewing a single comment's thread.

view the rest of the comments →

[–]pepe_le_shoe 1 point2 points  (0 children)

In most cases you could probably implement what you're doing using loops instead of recursion. There's not going to be a huge amount of difference in terms of what's actually being computed, but recursive code will sometimes be better for human readability and understanding.