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