MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/2obisu/recursion_101/cmm5e00/?context=3
r/shittyprogramming • u/justabaguette • Dec 05 '14
73 comments sorted by
View all comments
64
Ah, the ol' reddit recurs-a-roo.
0 u/[deleted] Dec 05 '14 [deleted] 24 u/[deleted] Dec 05 '14 edited Dec 05 '14 +/u/CompileBot python --include-errorsdef main(): mjcov_is_probably_wrong() print "if this prints then mjcov was right and reddit actually does have infinte stack space." def mjcov_is_probably_wrong(): mjcov_is_probably_wrong() if __name__=="__main__": main() 9 u/PublicSealedClass Dec 05 '14 Is it just me or does this bot seem like both a very cool yet very dangerous idea? 10 u/[deleted] Dec 05 '14 There are a few limits on what it can do. For example, it can't access networks or file systems.For some more info on it see here.
0
[deleted]
24 u/[deleted] Dec 05 '14 edited Dec 05 '14 +/u/CompileBot python --include-errorsdef main(): mjcov_is_probably_wrong() print "if this prints then mjcov was right and reddit actually does have infinte stack space." def mjcov_is_probably_wrong(): mjcov_is_probably_wrong() if __name__=="__main__": main() 9 u/PublicSealedClass Dec 05 '14 Is it just me or does this bot seem like both a very cool yet very dangerous idea? 10 u/[deleted] Dec 05 '14 There are a few limits on what it can do. For example, it can't access networks or file systems.For some more info on it see here.
24
+/u/CompileBot python --include-errors
def main(): mjcov_is_probably_wrong() print "if this prints then mjcov was right and reddit actually does have infinte stack space." def mjcov_is_probably_wrong(): mjcov_is_probably_wrong() if __name__=="__main__": main()
9 u/PublicSealedClass Dec 05 '14 Is it just me or does this bot seem like both a very cool yet very dangerous idea? 10 u/[deleted] Dec 05 '14 There are a few limits on what it can do. For example, it can't access networks or file systems.For some more info on it see here.
9
Is it just me or does this bot seem like both a very cool yet very dangerous idea?
10 u/[deleted] Dec 05 '14 There are a few limits on what it can do. For example, it can't access networks or file systems.For some more info on it see here.
10
There are a few limits on what it can do. For example, it can't access networks or file systems.
For some more info on it see here.
64
u/[deleted] Dec 05 '14
Ah, the ol' reddit recurs-a-roo.