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