jackpot@lemmy.ml to Programming@programming.dev · 11 months agowhen is it best to use a recursive function vs a for loopmessage-squaremessage-square50fedilinkarrow-up134arrow-down13
arrow-up131arrow-down1message-squarewhen is it best to use a recursive function vs a for loopjackpot@lemmy.ml to Programming@programming.dev · 11 months agomessage-square50fedilink
minus-squaremenzel@programming.devlinkfedilinkarrow-up2arrow-down1·11 months agoWhenever it better expresses what you mean. In most cases it doesn’t make a huge difference because the compiler don’t care
Whenever it better expresses what you mean. In most cases it doesn’t make a huge difference because the compiler don’t care