(Jul-14-2020, 04:07 PM)menator01 Wrote: You're just asking for problems going that deep in your structure.
Actually, this isn't always true. Nested structures and recursion is a good fit for certain problems because there are efficient algorithms for searching and changing such structures (and the solutions to problems can be written quite elegantly). Examples of where it makes sense: search trees in games like chess or tic-tac-toe, modelling file systems, b-trees as used in databases and there are likely countless others.