How programmers comment their code - eviltoast
    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      4 months ago

      And who updates that documentation three months later when a bug gets fixed or a new requirement get implemented?

      • Dropkick3038@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        The person who changed the code, it’s just ordinary maintenance. The comments may not execute, but I submit they are as much a part of the program as the executable code. Maybe over time those comments are condensed, or even removed; no different than any other refactoring or cleanup.