Re:How Not to Teach Recursion
by rileymat2 on Saturday January 02, 2021 @08:46AM
(#25612793)
> Another standard, time-honored pedagogic device is the dumb joke: “to understand recursion you must understand recursion”, and so on.
These confuse recursion with cyclicality.
I thought most forms of this joke centered around the definition of recursion, which nicely mimics a definition of a function that references itself. I am not sure what the author is getting at.
Re:How Not to Teach Recursion
by dwenzek on Saturday January 02, 2021 @09:04AM
(#25612883)
With a cyclic definition, one simply fall back precisely to the starting point, while with recursion one applies a similar process process again and again but each time on a smaller scope up to a point the response is known.
I thought most forms of this joke centered around the definition of recursion, which nicely mimics a definition of a function that references itself. I am not sure what the author is getting at.