• magic_lobster_party@kbin.run
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    5 months ago

    This is the truth. In my experience, the people who often writes comments are also writing the most incomprehensible code.

    Comments are frequently getting outdated as well, so they’re not in great help understanding the code either.

    • Codex@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      I was rewriting some old code of mine and ended up stripping out the comments. I kept reading them instead of the code, which I had been changing, and they were irrelevant. (I added new comments back in, though a big reason to rewrite was to make the code more self-explanatory.)