Vordimous@lemmy.ml to Programmer Humor@lemmy.ml · 3 months agoComenting codelemmy.mlexternal-linkmessage-square102fedilinkarrow-up11.18Karrow-down113
arrow-up11.17Karrow-down1external-linkComenting codelemmy.mlVordimous@lemmy.ml to Programmer Humor@lemmy.ml · 3 months agomessage-square102fedilink
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up20·edit-23 months agoChecked one of mine: # get path to the download directory Oh, ok.
minus-squaredarkpanda@lemmy.calinkfedilinkarrow-up25·3 months agoThe code directly below: function getPathToUploadDirectory() { return config.tmp_path }
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up1·3 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