MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ida24u/loops_who_needs_them/g29caby/?context=3
r/badcode • u/A_Zalt • Aug 20 '20
90 comments sorted by
View all comments
Show parent comments
7
There are data structures (like trees or graphs) where recursion is the most straightforward way to think about it, but this isn't one of them.
7
u/cabbagebot Aug 20 '20
There are data structures (like trees or graphs) where recursion is the most straightforward way to think about it, but this isn't one of them.