Jim Gardner on Nostr: I think my little walnut of a brain actually just figured out something fundamental ...
I think my little walnut of a brain actually just figured out something fundamental that was missing from the teaching materials.
Recursive function calls are exactly that: function calls. Another way to put it is, they’re **nested** function calls. And each function will exit at some point, returning a value.
https://hachyderm.io/@jimgar/113760897977348099
Published at
2025-01-02 23:11:59Event JSON
{
"id": "b50fc91d4370c67a84d4d3aefbb55cc7b4c8449134199a37dad73ca9c17b03d6",
"pubkey": "d74afa6cfc1a4f29de64a6ec8aa0c1131eddcac6a3b8c69c523f97ca3a237cf2",
"created_at": 1735859519,
"kind": 1,
"tags": [
[
"imeta",
"url https://media.hachyderm.io/media_attachments/files/113/761/289/447/860/030/original/9b83798b78025152.jpeg",
"m image/jpeg",
"dim 2494x3325",
"blurhash UFIhT#01j]ju%2t7R*oeoLayWVWBofoLj[j["
],
[
"proxy",
"https://hachyderm.io/users/jimgar/statuses/113761289478096470",
"activitypub"
]
],
"content": "I think my little walnut of a brain actually just figured out something fundamental that was missing from the teaching materials.\n\nRecursive function calls are exactly that: function calls. Another way to put it is, they’re **nested** function calls. And each function will exit at some point, returning a value. https://hachyderm.io/@jimgar/113760897977348099\n\nhttps://media.hachyderm.io/media_attachments/files/113/761/289/447/860/030/original/9b83798b78025152.jpeg",
"sig": "31feec21626bb1c1540e4418e2521398e30a02f88873fedea1882256364521e8e1f6dbbd947a3ce5b852fb4be2dc7998f9429d87135cf20d205cf057ef60c2b0"
}