@jackpot@lemmy.ml to Programming@programming.dev • 7 months agowhen is it best to use a recursive function vs a for loopmessage-square50fedilinkarrow-up132
arrow-up132message-squarewhen is it best to use a recursive function vs a for loop@jackpot@lemmy.ml to Programming@programming.dev • 7 months agomessage-square50fedilink
minus-square@SorteKanin@feddit.dklinkfedilink6•6 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.