• darkpanda@lemmy.ca
      link
      fedilink
      arrow-up
      24
      ·
      3 months ago

      The code directly below:

      function getPathToUploadDirectory() {
        return config.tmp_path
      }
      
    • Omgpwnies@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      If your company uses some sort of code checking tool on PRs, there may be a requirement that all functions have a docstring, even if it’s obvious what it’s doing. Leads to silly comments like this quite often