• lorty
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    11 个月前

    Then someone needs to change something about the code and doesn’t bother updating the comment. Now you still have uncommented code but with a comment that confuses instead of helping.

    • SpeakinTelnet@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      11 个月前

      IMHO the issue in this situation is not the comment but that the person updating the code didn’t do his job properly which shouldn’t be an excuse not to do it from the start.