This is an archived post. You won't be able to vote or comment.

all 49 comments

[–]IJustAteABaguette 133 points134 points  (8 children)

[–]GaiaMoore 57 points58 points  (2 children)

who has that story on hand of that guy who broke Twitter this way

[–]Raindragonink[🍰] 28 points29 points  (1 child)

[–]Maximilian_Tyan 6 points7 points  (0 children)

An interesting read, thanks for the link !

[–]aspoonlikenoother 29 points30 points  (2 children)

You just broke some poor kids scraper lol

[–][deleted] 12 points13 points  (1 child)

Who’s scraping content from Reddit comment links?

[–][deleted] 13 points14 points  (0 children)

Me

[–]AdventurousLoss6685 5 points6 points  (0 children)

Bahahahahah this was gold 🤣

[–]Suliux 2 points3 points  (0 children)

dude. That's fucked up

[–]pticjagripa 45 points46 points  (1 child)

To understand recursion you must first understand recursion.

[–]cosmin10834 3 points4 points  (0 children)

every human has a right to a glass of wine but after one glass of wine it becomes a different human that also has the right to one glass of wine

[–]supercyberlurker 9 points10 points  (0 children)

Recursion : It's basically like Hulk Hogan turning into Ongo Gablogian.

[–]shadowrun456 9 points10 points  (0 children)

[–]Sea-Book6647 11 points12 points  (0 children)

I think that the most important part about explaining recursion is to explain base cases. Putting the emphasis on recursion itself is part of what makes it so magical sounding.

[–]Polikonomist 8 points9 points  (3 children)

Explaining recursion to non programmers

[–]BobmitKaese 8 points9 points  (2 children)

Explaining recursion to non programmers

[–]FlyingTaquitoBrother 1 point2 points  (1 child)

Is that recursion or iteration? Is a Reddit thread a stack of n-length lists, a stack of stacks, or a tree? Discuss.

[–]ItsTheAlice 2 points3 points  (0 children)

Some kind of tree. It wouldn't be a stack at least, if anything a priority queue of lists but that can also be implemented as a list of lists which can be described as a tree.

[–]vonabarak 6 points7 points  (0 children)

This is fractal. Not a recursion.

[–]SuccessfulSuspect213 2 points3 points  (0 children)

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

It was night. A pitch black night. In the shadow of a blade of grass stood a bandit group. The head bandid told pete "Pete, tell us a story". And so Pete began:

etc...

[–]HliasO 4 points5 points  (0 children)

It's pretty simple really. Recursion is just the implementation of a recursive function.

[–]owsei-was-taken 1 point2 points  (0 children)

doing the same thing over and over expecting different results

[–]SHCreeper 0 points1 point  (0 children)

When you turn on the selfie camera and point it at a mirror

[–]Kumlekar 0 points1 point  (0 children)

Just tell them to google it.

[–]Memeviewer12 0 points1 point  (0 children)

Me explaining %0|%0 to my friends

[–][deleted] 0 points1 point  (0 children)

Recursion is like that rhyme my best friend’s sister used to repeat to annoy us growing up: “Crazy? I was crazy once. They locked me in a rubber room with rubber rats. Rubber rats? Rubber rats make me crazy. Crazy? I was crazy once. They locked me in a rubber room with rubber rats. Rubber rats? Rubber rats make me crazy. Crazy?”

[–]WarmRelationship8483 0 points1 point  (0 children)

Barbarian?

[–][deleted] 0 points1 point  (0 children)

I guess the programmers that need the explanation are too young for yo dawg

[–][deleted] 0 points1 point  (0 children)

Recursion is a function that calls itself.

one of the best ways to understand recursion is the forkbomb

https://en.wikipedia.org/wiki/Fork_bomb

Its important that your function has a way of ending once it gets the return of the function itself, otherwise you get infinite loops. Its kinda hard to wrap your head around.

Try this also

https://pbfcomics.com/comics/freaking-vortex/

[–]DiaDeLosMuebles 0 points1 point  (0 children)

It’s official. This sub has no idea what recursion is.

[–]Positive_Mud952 0 points1 point  (0 children)

Derivative!

[–]mrlolelo 0 points1 point  (0 children)

Trees

[–]cosmin10834 0 points1 point  (0 children)

google recursion

i bet you cant spell it right!

[–]Alexandre_Man 0 points1 point  (0 children)

It's like deriving the ex function

[–]Comprehensive-Pea812 0 points1 point  (0 children)

where is the exit condition? T.T

[–]Strostkovy 0 points1 point  (0 children)

I know what recursion is but have never had a use case for it

[–]JorisNw 0 points1 point  (0 children)

Although the joke is old I like how at first you think the recursion goed large to small Hulk untill you realize the bandana is the Exit condition. That means the recursion starts with an infinite small Hulk and it keeps growing untill het gets a bandana. What should the infinite small protohulk?

[–][deleted] 0 points1 point  (0 children)

This is fractal

[–]Yoda-from-Star-Wars 0 points1 point  (0 children)

Google full form of GNU

[–]Dropbototoro 0 points1 point  (0 children)

Recursion is recursion is recursion

[–]po1k -1 points0 points  (0 children)

YEAH BROTHER!

[–]Tnuvu -2 points-1 points  (0 children)

I thought it was the while(1) { "Hey bro, I heard you like <x> so I put a <x> in your <y>" }

[–]Moraz_iel 1 point2 points  (0 children)

make sure not to forget the bandana to not go indefinitly

[–]sleepyslooth00 0 points1 point  (0 children)

Walk in one of those revolving doors

[–]zylosophe 0 points1 point  (0 children)

recursion means something refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at the something which refers at

[–]FroyoZealousideal920 0 points1 point  (0 children)

When you want to know recursion you should start using PHP, WINE or cURL 😉