jackpot@lemmy.mlBanned to Programming@programming.dev · 2 years agowhen is it best to use a recursive function vs a for loopmessage-squaremessage-square50linkfedilinkarrow-up134arrow-down13
arrow-up131arrow-down1message-squarewhen is it best to use a recursive function vs a for loopjackpot@lemmy.mlBanned to Programming@programming.dev · 2 years agomessage-square50linkfedilink
minus-squareSorteKaninAlinkfedilinkarrow-up6·2 years agoIt depends on the programming language. Some languages prefer one style, others another.
It depends on the programming language. Some languages prefer one style, others another.