jackpot@lemmy.ml to Programming@programming.dev · 9 months agowhen is it best to use a recursive function vs a for loopmessage-squaremessage-square19fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1message-squarewhen is it best to use a recursive function vs a for loopjackpot@lemmy.ml to Programming@programming.dev · 9 months agomessage-square19fedilink
minus-squareSorteKanin@feddit.dklinkfedilinkarrow-up1·9 months 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.