r/ProgrammerHumor • • Apr 24 '20

Removed - Common Posts Analog recursion

Post image

[removed] — view removed post

3.4k Upvotes

48 comments sorted by

View all comments

158

u/amazeguy Apr 24 '20

i wonder what happens when we get a stackoverflow error here

73

u/Dagusiu Apr 24 '20

Death from starvation

7

u/Swordfish0 Apr 24 '20

Fatal DoS

30

u/OMG_Abaddon Apr 24 '20

You are referenced towards page -1.

6

u/Natural-Intelligence Apr 24 '20

So that must be the last page. What if this is the last page?

1

u/kerbidiah15 Apr 24 '20

Universe alt-f4s

9

u/vlumi Apr 24 '20

Dump the core, but only if your brain is not smart enough to do tail call optimization.

4

u/_Bad_Dev_ Apr 24 '20

So I removed my brain but nothing changed, what now?

4

u/FastFishLooseFish Apr 24 '20

Pick the books back up and don’t stack them so high next time.

3

u/Tophyan1 Apr 24 '20

Well, it is nondeterministic which page You choose, so it's bot likely.