• EpeeGnome@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      The issue with having mandatory useless comments is that any actually useful comments get lost in the noise.

      • Alexstarfire@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        I get what you’re saying. Perhaps I just haven’t had too many variables and such that have had such comments. VsCode shows the comments on hover when you’re in other parts of the code base. Which makes most any comment useful because something that is obvious in one part of the code isn’t immediately obvious in another. Though, that necessitates making comments that actually help you figure that out.