Comenting code - eviltoast
    • doktormerlin@feddit.org
      link
      fedilink
      Deutsch
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      But it’s also important to learn that comments should be brief and concise. We have one file from an ex-dev in which there are 750 lines of code and 2000 lines of comment, when someone wants to maintain this code they always have a hard time because this many comments are taking up so much screen real estate that you can’t find the code that actually does stuff