orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 months agoPeak code reuseeviltoast.orgimagemessage-square33linkfedilinkarrow-up1456arrow-down10
arrow-up1456arrow-down1imagePeak code reuseeviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 months agomessage-square33linkfedilink
minus-squareHappyFrog@lemmy.blahaj.zonelinkfedilinkarrow-up46·3 months agoWill this ever return? Won’t it just overflow the stack?
minus-squareSjmarf@sh.itjust.workslinkfedilinkEnglisharrow-up77·3 months agoYep, this will cause a stack overflow.
minus-squarerovingnothing29@lemmy.worldlinkfedilinkarrow-up33·3 months agoA mod will appear in my office and claim my problem is a duplicate when it’s not?
minus-squareMad_Punda@feddit.orglinkfedilinkarrow-up25·edit-23 months agoMight very well be an endless loop because tail recursion can be optimized to reuse the stack frame. Depends on a lot of things of course.
Will this ever return? Won’t it just overflow the stack?
Yep, this will cause a stack overflow.
A mod will appear in my office and claim my problem is a duplicate when it’s not?
Might very well be an endless loop because tail recursion can be optimized to reuse the stack frame. Depends on a lot of things of course.
deleted by creator