this post was submitted on 14 Jun 2023
44 points (90.7% liked)

Programmer Humor

19488 readers
559 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

founded 1 year ago
MODERATORS
 
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

That's iteration, not recursion 🙄

[–] [email protected] 2 points 1 year ago

You are right, my mistake.

[–] Kausta 6 points 1 year ago* (last edited 1 year ago) (2 children)

Recursion like this

Edit: forgot about federated instances being a thing

[–] [email protected] 3 points 1 year ago

It still worked well enough though. 10/10 goof.

[–] [email protected] 1 points 1 year ago

That's pretty cool. I love recursion a lot, got it on the brain. One of my favorite examples of recursion is when it is used to solve for fibonacci numbers.