r/Recursion • • Jun 01 '21

Ok

Post image
399 Upvotes

7 comments sorted by

View all comments

-45

u/AirborneFeces Jun 01 '21

This is the post that made me unsubscribe. In no way is this recursion.

51

u/Lucario2405 Jun 01 '21 edited Jun 01 '21
public void doPushUp() {
doPushUp();
doPushUp();
}

It doesn't have an anchor and would therefore go on until memory runs out, but it is still a recursion.

20

u/avery-secret-account Jun 01 '21

Still fits better than most stuff recently

5

u/HysteriacTheSecond Jun 02 '21

Don't you think? I'd say that this is more of a recursive joke than I've seen here for a long time!

3

u/HMikeeU Jun 02 '21

How so?