O'Reilly logo
  • Gail Smith thinks this is interesting:

Use recursion over looping whenever possibl

From

Cover of Learning React

Note

don't agree, I'd rather choose an iterative approach because a recursive method may be more complex, and the added complexity "hides" the simplicity of the computation. But for other problems, a recursive algorithm may be much simpler than trying to carry out the same computation iteratively...