Vordimous to Programmer Humor · 2 months agoComenting codeimagemessage-square105fedilinkarrow-up11.27Karrow-down111
arrow-up11.26Karrow-down1imageComenting codeVordimous to Programmer Humor · 2 months agomessage-square105fedilink
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up21·edit-22 months agoChecked one of mine: # get path to the download directory Oh, ok.
minus-squaredarkpanda@lemmy.calinkfedilinkarrow-up25arrow-down1·2 months agoThe code directly below: function getPathToUploadDirectory() { return config.tmp_path }
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up1·2 months 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
Checked one of mine:
Oh, ok.
The code directly below:
function getPathToUploadDirectory() { return config.tmp_path }
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