• ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    21 days ago

    comment the code! tell future you why is that needed and what its doing.

    • Tamo240@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      15 days ago

      Write better code, with good names and sensible interfaces. Comments can get bugs just like code, but it doesn’t have a compiler or unit tests, so only code review keeps it aligned.