jackpot@lemmy.ml to Programming · 1 year agowhen is it best to use a recursive function vs a for loopmessage-squaremessage-square52fedilinkarrow-up134arrow-down13
arrow-up131arrow-down1message-squarewhen is it best to use a recursive function vs a for loopjackpot@lemmy.ml to Programming · 1 year agomessage-square52fedilink
minus-squareSorteKanin@feddit.dklinkfedilinkarrow-up6·1 year 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.