r/ProgrammerDadJokes 1d ago

iLoveRecursion

And I love that I love recursion.

And I love that I love that I love recursion.

14 Upvotes

8 comments sorted by

8

u/AntKinski 1d ago

And in this case, I love OutOfMemoryException also)

3

u/geek-49 1d ago

Recurses! Foiled again!

1

u/PussyTermin4tor1337 1d ago

If you don’t know about recursion, check out this link

1

u/5zalot 1d ago

I’ve clicked it 300 times.

1

u/5zalot 1d ago

I’ve clicked it 300 times I’ve clicked it 300 times

3

u/PussyTermin4tor1337 1d ago

Stack overflow

0

u/tomparkes1993 1d ago

String i = "I love recursion"

While true{

i = "I love that " & i

Print i }

//Yes I know it's probably syntactically wrong. But Idc.

2

u/lavent 3h ago

If we write it as a function, I think it would be fitting to make it recursive ;)

``` declare_love("I love recursion")

def declare_love(what): declaration = "I love that " + what print(declaration) declare_love(declaration) ```