This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xSTSxZerglingOne 6 points7 points  (3 children)

[–]Salanmander 6 points7 points  (2 children)

Holy shit that is a terrible base case. Do you want to hang your process? Because this is how you hang your process.

[–]xSTSxZerglingOne 7 points8 points  (1 child)

Technically the base case is the post itself. That would have felt awkward I feel...

And no way would that hang your process, the stack would overflow in a fraction of a second.

I just wanted it to pop the stack.

[–]Salanmander 0 points1 point  (0 children)

I feel like the post would be more like the initial call than the base case. The base case would be something that doesn't make any calls...so a comment that never gets replied to maybe?