• JohnDClay
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    1 year ago

    But you should also comment it, things obvious to you aren’t obvious to even future you.

    • gornius@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 year ago

      General rule of thumb: Comments say why is it here, not what it does. Code itself should describe what it does.