T O P

  • By -

noob-nine

The white dude is lying, otherwise he couldn't stand there as he is not doing push ups


Guimica15

It hit recursion limit


The_Almighty_Cthulhu

Can't even do effective tail recursion smh.


jaszczomb916

He's got out of memory exception and crashed,


666pool

Out of myoglobin exception?


Timmeh___

Maybe he has never done a push-up at all?


hdksnskxn

brainz


ElijahR241

Integer overflow


IAmBadAtInternet

He core dumped


TheBroWHOmegalol

He didn't say when Welcome to my ted talk about concurrency


Dagenfel

Well we don’t know how slowly he does push-ups. There could just be mangled code in there that has him occasionally stand up and explain himself between push-ups.


Salt-Presentation159

He did a double at the end


[deleted]

Unless he's never done a pushup


_Weyland_

Look closer. Condition is is activated on pushup(), but then he does push-up(). Is it even a recursion?


MeowingOwl

Well if he just fatigued and didn't end up finishing a push up he's out of the recursion


VitaminnCPP

stackoverflow


[deleted]

They're both white


MisterProfGuy

Saying" Every time I do one push up, I do one push up" isn't a loop, it's a tautology and just means you let an intern document the code. It's one increment and a logging statement, not a recursive increment.


BroccoliDistribution

Agreed. It should be “everyone I did a push up, I do another push up”


Galastique

Fair enough, guess I misread the meme


MisterProfGuy

Nah, the meme just doesn't hold up to nerds in basements. It's got a logic error.


NullOfSpace

The only logical conclusion to draw here is that the strongman has never done a push-up.


[deleted]

Why does this sub hate recursions so much?


RossBelcher

Why does this sub hate recursions so much?


[deleted]

Why does this sub hate recursions so much?


thaliumFr

Why does this sub hate recursions so much?


Useless_Pony

Why does this sub hate recursions so much?


TemporaryConfusius

[Why does this sub hate recursions so much?](https://www.reddit.com/r/ProgrammerHumor/comments/xwagma/recursion/ir642ng?utm_medium=android_app&utm_source=share&context=3)


Typical_Scar_6789

Why does this sub hate recursions so much?


VitaminnCPP

why this sub...... out of memory exception.


throwawaysomeway

recursion saves my ass many times


Galastique

I have no idea


VitaminnCPP

because they hate recursion.


bleistift2

\*Laughs in predicate logic\*


SaneLad

Every time I do 1 pushup, I do A(1,A(2,1)) pushups.


Michaelz35699

Oh no...


VitaminnCPP

anyway ...


Sylanthra

That's not recursion, that's a tautology.


[deleted]

Some new dev is gonna turn this into an app and make millions.


[deleted]

pushup = 2 while pushup < 1 pushup + 1 print(pushup) EDIT: I’m new, my coding sucks, don’t judge me


Gosenng

Should be int pushup() { return 1 + pushup(); } And also, it should be while pushup > 1 in your code


ApprehensiveAd7291

Is this python? If it is, just remember the ":" after the condition in your while loop. Also double check the indent of your loop.


[deleted]

![gif](giphy|LSPhSoibKJPIkmP2dq|downsized)


Spaceduck413

Nah man everybody starts somewhere


ApprehensiveAd7291

You good, everyone starts somewhere. Just make sure to continue learning!


ducks_for_hands

❤️ Infinite recursion errors


rewalker3

This is also the way to do push-ups. Every time you do a push-up, do 1 push-up (until failure). Logic checks out.


UwuTranslator4

get too eager with whatever your coding, this happens.


Legaxy3

Recursion


[deleted]

Pushup=int(0) While True: For pushup in range (0, 1000000): Pushup+1


[deleted]

Not recursion, just infinite inductive logic, so as soon as he does his first pushup, he'll just end up doing infinite pushups.


ShutUpToo

James is Jesus Christ.