3 ms·
I think a good analogy to teach recursion are humans, or really any living thing, since they too are functions that call themselves. That is, each time you crea
by blueyes 9y ago
I think a good analogy to teach recursion are humans, or really any living thing, since they too are functions that call themselves. That is, each time you create a new human, it's function is to create a new human, and so on ad infinitum.