this post was submitted on 14 Jun 2023
42 points (90.4% liked)

Programmer Humor

19453 readers
75 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
42
submitted 1 year ago* (last edited 1 year ago) by EdTheLegendary to c/programmer_humor
 
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

That's iteration, not recursion 🙄

[–] EdTheLegendary 2 points 1 year ago

You are right, my mistake.

[–] [email protected] 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.

[–] EdTheLegendary 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.

load more comments
view more: next ›