Vordimous@lemmy.ml to Programmer Humor@lemmy.ml · 18 days agoComenting codelemmy.mlimagemessage-square100fedilinkarrow-up11.15Karrow-down110
arrow-up11.14Karrow-down1imageComenting codelemmy.mlVordimous@lemmy.ml to Programmer Humor@lemmy.ml · 18 days agomessage-square100fedilink
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up20·edit-218 days agoChecked one of mine: # get path to the download directory Oh, ok.
minus-squaredarkpanda@lemmy.calinkfedilinkarrow-up24arrow-down1·18 days agoThe code directly below: function getPathToUploadDirectory() { return config.tmp_path }
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up1·17 days 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