c/programmer_humor · by EdTheLegendary@programming.dev · 3yIteration™ bringing home the bacon 44 points · 4 comments · view on lemmy.world
4 Comments
torkildr@beehaw.org · 10 pts · 3y
That's iteration, not recursion 🙄
EdTheLegendary@programming.dev · 2 pts · 3y
You are right, my mistake.
Kausta@lemmy.world · 6 pts · 3y
gizmonicus@sh.itjust.works · 3 pts · 3y
It still worked well enough though. 10/10 goof.
EdTheLegendary@programming.dev · 1 pts · 3y
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.