πSelf-Reference
A function that refers to itself.
No talk of higher-order functions can be complete without a discussion of self-reference. The idea behind self-reference is a function that refers to itself in its body.
Note that this is not recursion β a recursive function is a function that calls itself within its own body. The difference is slight but incredibly important.
Last updated