cvttsd2si@programming.devtoProgramming@programming.dev•when is it best to use a recursive function vs a for loop3 yearsWhen doing functional programming, you can’t really do loops (because of referential transparency, you can’t update iterators or indices). However, recursion still works. 6
When doing functional programming, you can’t really do loops (because of referential transparency, you can’t update iterators or indices). However, recursion still works.