Vordimous@lemmy.ml to Programmer Humor@lemmy.ml · 1 day agoComenting codelemmy.mlimagemessage-square82fedilinkarrow-up1999arrow-down111
arrow-up1988arrow-down1imageComenting codelemmy.mlVordimous@lemmy.ml to Programmer Humor@lemmy.ml · 1 day agomessage-square82fedilink
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up21·edit-21 day agoChecked one of mine: # get path to the download directory Oh, ok.
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up1·8 hours 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-squaredarkpanda@lemmy.calinkfedilinkarrow-up23arrow-down1·1 day 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 }