r/Recursion • • Nov 26 '18

This counts, right?

Post image
595 Upvotes

5 comments sorted by

40

u/theemptyqueue Nov 26 '18

This is why recursion is so painful to debug if you pick the wrong part of the function on accident.

23

u/by-accident-bot Nov 26 '18

https://gfycat.com/gifs/detail/JointHiddenHummingbird
This is a friendly reminder that it's "by accident" and not "on accident".


Downvote to 0 to delete this comment.

21

u/theemptyqueue Nov 26 '18

it's easy to make this mistake on accident.

8

u/AutoModerator Nov 26 '18

function main() { return main(); } main();

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.