this post was submitted on 17 Jan 2026
141 points (99.3% liked)
Programmer Humor
28818 readers
1244 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not to be pedantic, and I do appreciate the humor, but that's not recursion either :3 Recursion doesn't need to be endless. Recursive functions can absolutely have logical termination.
What does capitalism do but logically terminate resources?
But note taken. I just think the comparison is inspiring.
Logically terminating resources does not imply a terminating logic loop. Clever wordplay, though.
Recursion has a specific definition. It means solving a problem by breaking a process down into smaller and smaller self-similar pieces until reaching the "base case". In programming, it (almost) always means a function that calls itself as part of its internal logic. Depending on what the function does and the conditions for returning a value from the function, it may do that one time, many times, or not at all. A classic example is the Boggle solver.
I did say I was being pedantic :P