alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agoMore the merrierlemmy.worldimagemessage-square36fedilinkarrow-up139arrow-down11
arrow-up138arrow-down1imageMore the merrierlemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square36fedilink
minus-squareArcaneSlime@lemmy.dbzer0.comlinkfedilinkarrow-up0·2 years agoLmao me commenting my 14 line bash script, comments almost as long as the script itself. I have a habit of forgetting “why’d I put this there” and at least with my scripts I can leave myself a note for future me.
minus-squarenuez_jr@lemm.eelinkfedilinkarrow-up1·2 years agoThe highest comment-to-code ratio I ever wrote was a CMD script that had to combine three different escaping conventions. It was a good day when I got to throw that one away.
minus-squarecoloredgrayscale@programming.devlinkfedilinkarrow-up1·2 years agoAdding the fourth, ultimate escape to it.
minus-squareharuki@programming.devlinkfedilinkarrow-up1·2 years agoWell, bash scripts are infamous for being arcane so commenting abundantly is better than nothing.
Lmao me commenting my 14 line bash script, comments almost as long as the script itself.
I have a habit of forgetting “why’d I put this there” and at least with my scripts I can leave myself a note for future me.
The highest comment-to-code ratio I ever wrote was a CMD script that had to combine three different escaping conventions.
It was a good day when I got to throw that one away.
Adding the fourth, ultimate escape to it.
Well, bash scripts are infamous for being arcane so commenting abundantly is better than nothing.