@Vordimous@lemmy.ml to Programmer Humor@lemmy.ml • 4 months agoComenting codelemmy.mlimagemessage-square105fedilinkarrow-up11.23Karrow-down110
arrow-up11.22Karrow-down1imageComenting codelemmy.ml@Vordimous@lemmy.ml to Programmer Humor@lemmy.ml • 4 months agomessage-square105fedilink
minus-square@some_guylink21•edit-24 months agoChecked one of mine: # get path to the download directory Oh, ok.
minus-square@darkpanda@lemmy.calinkfedilink23•4 months agoThe code directly below: function getPathToUploadDirectory() { return config.tmp_path }
minus-square@Omgpwnies@lemmy.worldlinkfedilinkEnglish1•4 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