Checked one of mine:

# get path to the download directory

Oh, ok.

The code directly below:

function getPathToUploadDirectory() {
  return config.tmp_path
}
@Omgpwnies@lemmy.world
link
fedilink
English
16d

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

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 54 users / day
  • 196 users / week
  • 748 users / month
  • 3.26K users / 6 months
  • 1 subscriber
  • 1.5K Posts
  • 33.2K Comments
  • Modlog