ELI5: Explain Like I'm 5

recursive functions

A recursive function is something like a loop, except that it calls itself. It's like a recipe that tells a computer how to do something, and it keeps doing it over and over again. Think of it like a recipe that tells you to mix the ingredients together, and then mix them again, and then mix them again. Eventually you'll get a nice, yummy dish!
Related topics others have asked about: