• BlackEcoA
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    20 days ago

    Depending on the language, you may be mutating the input value, which isn’t great.

    • qaz@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 days ago

      I’m pretty sure it’s Java (due to the syntax and Eclipse editor default color scheme), so that isn’t an issue

      • BlackEcoA
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        Oh right, my Java is a bit rusty. But if it was Javascript, that would have been a problem.