News for hackers. Stuff that matters.
Re:Reconsidering the way I explain programming (2020) by ummwhat on Wednesday July 28, 2021 @02:56AM (#27981021)
I'd argue everything about how we think is already deeply recursive. Your brain has some sort of function for parsing what it is being told. Whenever a new context/setting comes up (such as "yesterday", "in Vladivostok", "she said"), the story within the new context is understood and parsed with the same brain function as the outer context.

Similarly when we look at a picture on a wall, we interpret the scene within using the same machinery as we interpret the real world, while also being aware that the scene is "on the stack" relative to real things like the wall. There is nothing about a picture within a picture that breaks our comprehension of what we are looking at.

I think {you know {what I'm talking about}}.

It is strange that recursion seems hard and loops seem easy to most brains.

Re:Reconsidering the way I explain programming (2020) by lupire on Wednesday July 28, 2021 @09:46AM (#27983671)
That's a stack, not recursion. Recursion is self-reference.
Re:Reconsidering the way I explain programming (2020) by ummwhat on Thursday July 29, 2021 @10:17AM (#27996842)
The same brain function is processing every layer of the stack. Its the call stack of a recursive function.