Vordimous@lemmy.ml to Programmer Humor@lemmy.ml · 23 hours agoComenting codelemmy.mlimagemessage-square90fedilinkarrow-up1964arrow-down16
arrow-up1958arrow-down1imageComenting codelemmy.mlVordimous@lemmy.ml to Programmer Humor@lemmy.ml · 23 hours agomessage-square90fedilink
minus-squaresome_guy@lemmy.sdf.orglinkfedilinkarrow-up20·edit-220 hours agoChecked one of mine: # get path to the download directory Oh, ok.
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up1·5 minutes 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-up22arrow-down1·19 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 }