@Vordimous@lemmy.ml to Programmer Humor@lemmy.ml • 1 day agoComenting codelemmy.mlimagemessage-square90fedilinkarrow-up1994arrow-down18
arrow-up1986arrow-down1imageComenting codelemmy.ml@Vordimous@lemmy.ml to Programmer Humor@lemmy.ml • 1 day agomessage-square90fedilink
minus-square@some_guy@lemmy.sdf.orglinkfedilink20•edit-221 hours agoChecked one of mine: # get path to the download directory Oh, ok.
minus-square@Omgpwnies@lemmy.worldlinkfedilinkEnglish1•1 hour agoIf 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
minus-square@darkpanda@lemmy.calinkfedilink21•20 hours agoThe code directly below: function getPathToUploadDirectory() { return config.tmp_path }
Checked one of mine:
Oh, ok.
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
The code directly below:
function getPathToUploadDirectory() { return config.tmp_path }