• livingcoder@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      11 个月前

      I would agree. Only if the performance is extremely similar but the readability (for some reason) is significantly better for the recursive solution would I choose that.