• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: August 6th, 2023

help-circle



  • Maalus@lemmy.worldtoProgrammer Humor@programming.devSenior Wisdom
    link
    fedilink
    arrow-up
    6
    arrow-down
    4
    ·
    4 hours ago

    The only moment you write comments is when you are doing something extremely weird for a specific reason that will not be immediately obvious and you want to warn the person doing a refactor in the future. In any other case, writing self documenting code is the way. If you are unable to do that, then your code needs to be rewrtitten.