|
|
|
|
|
by ghettoimp
2954 days ago
|
|
Very much agree. If you are working on any kind of tree structure, graph, parse tree, etc., recursion can be really beautiful and clear. My theory: folks like iteration because 90% of the "for" loops they write are really just "foreach". |
|
I didn't understand this comment. What do you mean by "for vs foreach."? Can you elaborate?