TimeSquirrel@kbin.melroy.org to Programmer Humor@lemmy.ml · 2 years agoRecursionlemmy.mlimagemessage-square20linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageRecursionlemmy.mlTimeSquirrel@kbin.melroy.org to Programmer Humor@lemmy.ml · 2 years agomessage-square20linkfedilinkfile-text
minus-squareAlbbi@lemmy.calinkfedilinkarrow-up0·2 years agoIt’s ok, the stack overflow is the exit condition.
minus-squareAlbbi@lemmy.calinkfedilinkarrow-up0·2 years agoThat’s too much syntax. I’m just gonna raw dog it.
minus-squareNighed@feddit.uklinkfedilinkEnglisharrow-up0·1 year agoI did try that once, you can’t catch stack overflow errors in .net at least. Too fundamentally broken.
minus-squareHiddenLayer555@lemmy.mllinkfedilinkEnglisharrow-up0·2 years 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/catchis 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.