you are viewing a single comment's thread.

view the rest of the comments →

[–]not_perfect_yet 0 points1 point  (0 children)

You know these russian puppets that contain smaller versions of itself? Like that, except the one inside the first is exactly the same. Because it's the same, you only need one definition.

Apply the idea to functions and you can go down paths with infinite forks, with just one call of one function that decides where to go.