▲ 133 ▼ 20 GOTO 10 (github.com) submitted 9 months ago by lambalicious@lemmy.sdf.org to c/programmer_humor@programming.dev 25 comments fedilink hide all child comments To understand terminal capitalism, first you must understand recursion.
[–] lambalicious@lemmy.sdf.org [S] 1 point 9 months ago (1 child) What does capitalism do but logically terminate resources? But note taken. I just think the comparison is inspiring. permalink fedilink source parent hideshow 1 child comment replies: [–] neatchee@piefed.social 2 points 9 months ago 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 permalink fedilink source parent
[–] neatchee@piefed.social 2 points 9 months ago 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 permalink fedilink source parent