TimeSquirrel@kbin.melroy.org to Programmer Humor@lemmy.ml · 18 days agoRecursionlemmy.mlimagemessage-square19fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageRecursionlemmy.mlTimeSquirrel@kbin.melroy.org to Programmer Humor@lemmy.ml · 18 days agomessage-square19fedilinkfile-text
minus-squareAlbbi@lemmy.calinkfedilinkarrow-up0·18 days agoIt’s ok, the stack overflow is the exit condition.
minus-squareAlbbi@lemmy.calinkfedilinkarrow-up0·18 days agoThat’s too much syntax. I’m just gonna raw dog it.
minus-squareNighed@feddit.uklinkfedilinkEnglisharrow-up0·16 days agoI did try that once, you can’t catch stack overflow errors in .net at least. Too fundamentally broken.
minus-squareHiddenLayer555@lemmy.mllinkfedilinkEnglisharrow-up0·18 days ago File "<python-input-0>", line 2, in a a() ~^^ [Previous line repeated 988 more times] RecursionError: maximum recursion depth exceeded
It’s ok, the stack overflow is the exit condition.
That’s what a
try/catch
is for!That’s too much syntax. I’m just gonna raw dog it.
I did try that once, you can’t catch stack overflow errors in .net at least. Too fundamentally broken.