Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    I guess one could understand why the author believes this if his experience has been (mostly) limited to poorly commented code.

    • danrot@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      I have also seen well commented code, but in this article I concentrate on the bad ones. Are you saying you have never seen a bad code comment?