you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 day ago (2 children)

Only if you need to implement everything as a recursive call. This scenario can be nicely implemented with a simple loop.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 day ago* (last edited 1 day ago) (1 child)

    Even with a loop, if you consider that you haven't finished looking into something until you've executed all sub-instructions, you would still have to keep track of everything in a stack. You would run out of memory at some point.

  • source
  • parent
  • hideshow 1 child comment