Comment on if else if else if else
kogasa@programming.dev 1 year agoThat’s just “recurrence.” The same as a “while” loop. Recursion is specifically when a procedure invokes itself.
Comment on if else if else if else
kogasa@programming.dev 1 year agoThat’s just “recurrence.” The same as a “while” loop. Recursion is specifically when a procedure invokes itself.
MagicShel@programming.dev 1 year ago
Fair enough. Point is nothing is getting smaller except the call stack.
kogasa@programming.dev 1 year ago
The thing that’s getting smaller is the “complexity” or “distance from the trivial case” of the function invocation. This is an informal notion though.