▲ | SJC_Hacker 5 days ago | ||||||||||||||||
I don't see how it would be gatekeeping. Recursive functions are a mathematical concept, like the "imaginary" number, or "trascendental" numbers. Or negative numbers for that matter. Simple example, the Fibonacci sequence. FIB(1) = 1 FIB(2) = 1 FIB(N) = FIB(N-1) + FIB(N-2) There's no programming language or "physical" implementation needed in order to calculate FIB(N) for arbitrary N. Pencil and paper will do for small numbers | |||||||||||||||||
▲ | fellowniusmonk 4 days ago | parent [-] | ||||||||||||||||
Yes, you cannot hide the callstack when taught with pencil and paper. But in computer programing it is often hidden. And then you are misleading people about recursion and not helping them to build mental models that map to the physical/hardware process. This isn't a big deal or anything, it's hardly worth talking about but it is literally a true thing many don't realize and that does empirically negatively effect education of the concept. | |||||||||||||||||
|